PHP Class Kohkimakimoto\Worker\EventLoop\StreamSelectLoop

Inheritance: extends React\EventLoop\StreamSelectLoop
Mostra file Open project: kohkimakimoto/workerphp

Protected Methods

Method Description
streamSelect ( array &$read, array &$write, integer | null $timeout ) : integer Emulate a stream_select() implementation that does not break when passed empty stream arrays.

Method Details

streamSelect() protected method

Emulate a stream_select() implementation that does not break when passed empty stream arrays.
protected streamSelect ( array &$read, array &$write, integer | null $timeout ) : integer
$read array
$write array
$timeout integer | null Activity timeout in microseconds, or null to wait forever.
return integer The total number of streams that are ready for read/write.