phasync\Internal\FiberSelector final class

Documentation

This class can be used with stream resources to become selectable with phasync::select(). Use the read or write arguments of phasync::select() instead of this class directly.

Inheritance

Implements: phasync\SelectorInterface phasync\Internal\ObjectPoolInterface phasync\SelectableInterface

Uses Traits: phasync\Internal\ObjectPoolTrait

Properties (6)

private int $id
private ?Fiber $fiber
private ?Fiber $waitFiber
private object $flag
private static array $pool
private static int $instanceCount

Methods (8)

Documentation missing

Documentation missing

Documentation missing

Documentation missing

Documentation missing

Documentation missing

Documentation missing

Documentation missing

Source

src/Internal/FiberSelector.php:16-79