AsyncGeneratorExecutor
Implements GeneratorExecutor
Methods
__construct()
php
public function __construct(\Logger $logger, \pocketmine\scheduler\AsyncPool $workerPool, \pocketmine\world\generator\executor\GeneratorExecutorSetupParameters $setupParameters, ?int $asyncContextId = null)populate()
php
public function populate(int $chunkX, int $chunkZ, ?\pocketmine\world\format\Chunk $centerChunk, array $adjacentChunks, \Closure $onCompletion) : voidshutdown()
php
public function shutdown() : void