phasync\Util\WaitGroup
final
class
Documentation
This class provides an efficient tool for waiting until multiple coroutines have completed their task.
Inheritance
Implements:
phasync\SelectableInterface
Properties (1)
private
int $counter
Methods (5)
Documentation missing
Add work to the WaitGroup.
Signal that work has been completed to the WaitGroup.
Wait until the WaitGroup has signalled that all work
This function was renamed to {@see WaitGroup::await()} to harmonize