Amp\Parallel\Context\Context interface Context extends Amp\Parallel\Sync\Channel

Summary

Properties

Methods

Methods

isRunning — public function isRunning(): bool
No documentation.
start — public function start()

Starts the execution context.

kill — public function kill()

Immediately kills the context.

join — public function join(): Amp\Promise
No documentation.
receive — public function receive(): Amp\Promise
No documentation.
send — public function send($data): Amp\Promise
No documentation.
Type Parameter Description Default Value
mixed $data No documentation. none