Amp\Parallel\Worker\pool

functionpool(Amp\Parallel\Worker\Pool|null$pool =null):Amp\Parallel\Worker\Pool

Gets or sets the global worker pool.

Type Parameter Description Default Value
Amp\Parallel\Worker\Pool|null $pool A worker pool instance. null