Amp\Parallel\Worker\factory

function factory(Amp\Parallel\Worker\WorkerFactory|null $factory = null): Amp\Parallel\Worker\WorkerFactory

Gets or sets the global worker factory.

Type Parameter Description Default Value
Amp\Parallel\Worker\WorkerFactory|null $factory No documentation. null