Coordinator
class Coordinator
Methods
__construct()
No description
bool
yield(float|int $timeout = -1)
Yield the current coroutine for a given timeout, unless the coordinator is woken up from outside.
bool
isClosing()
Determine if the coordinator is closing.
void
resume()
Wake up all coroutines yielding for this coordinator.
Details
at line 13
__construct()
No description
at line 23
bool
yield(float|int $timeout = -1)
Yield the current coroutine for a given timeout, unless the coordinator is woken up from outside.
at line 32
bool
isClosing()
Determine if the coordinator is closing.
at line 40
void
resume()
Wake up all coroutines yielding for this coordinator.