Amp\Parallel\Worker\TaskRunner class TaskRunner

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 function run(): Amp\Promise

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