Amp\Parallel\Worker\factory

functionfactory(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