Classes

Functions

bool
block(float $timeout = -1, string $identifier = Constants::WORKER_EXIT)

Block the current coroutine until the specified identifier is resumed.

at line 11
void
clear(string $identifier = Constants::WORKER_EXIT)

Clear the coroutine that is blocked by the specified identifier.

at line 29
void
resume(string $identifier = Constants::WORKER_EXIT)

Resume the coroutine that is blocked by the specified identifier.

at line 20