phasync\Internal\ReadChannel
final
class
Documentation
This object is the readable end of a phasync channel. If it is garbage
collected, the writable end of the channel will also be closed. Messages
can be read via the ReadChannel::read() method, or by using the
ReadChannel as an iterator, for example with foreach().
Inheritance
Implements:
phasync\ReadChannelInterface
IteratorAggregate
Traversable
phasync\SelectableInterface
Properties (3)
private
int $id
private
bool $didActivate
private
phasync\Internal\ChannelBackendInterface $channel
Methods (10)
Documentation missing
Documentation missing
Documentation missing
Documentation missing
Documentation missing
Documentation missing
Documentation missing
Documentation missing
Documentation missing
Documentation missing