phasync\Internal\Flag
final
class
Documentation
This class stores fiber instances associated with a flag. It is designed to be used in a WeakMap, so that if the flag object is garbage collected, then the destructor of this object will ensure that all Fiber instances waiting to be resumed are resumed with an exception.
Inheritance
Implements:
phasync\Internal\ObjectPoolInterface
Countable
Uses Traits:
phasync\Internal\ObjectPoolTrait
Properties (5)
array $allFibers
int $id
phasync\Drivers\DriverInterface $driver
array $pool
int $instanceCount
Methods (13)
Documentation missing
Documentation missing
Ensures any waiting Fiber instances are resumed.
Documentation missing
Documentation missing
Documentation missing
Documentation missing
Documentation missing
Documentation missing
Documentation missing
Documentation missing
Documentation missing
Documentation missing