Amp\Parallel\Worker\TaskRunner classTaskRunner

Summary

Properties

Methods

Properties

Methods

__construct —public function__construct(Amp\Parallel\Sync\Channel$channel,Amp\Parallel\Worker\Environment$environment)
No documentation.
Type Parameter Description Default Value
Amp\Parallel\Sync\Channel $channel No documentation. none
Amp\Parallel\Worker\Environment $environment No documentation. none
run —public functionrun():Amp\Promise

Runs the task runner, receiving tasks from the parent and sending the result of those tasks.