Represents a stream of items that can be read from.
Any class that implements this interface can be used by a @see \io\vertx\jphp\core\streams\Pump to pump data from it to a @see \io\vertx\jphp\core\streams\WriteStream.
handler
.handler
.0
package |
Default |
---|
__construct()
endHandler( $arg0) : $this
callable
$this
a reference to this, so the API can be used fluently
exceptionHandler( $arg0) : $this
callable
$this
a reference to this, so the API can be used fluently
fetch( $arg0) : $this
integer
$this
a reference to this, so the API can be used fluently
handler( $arg0) : $this
callable
$this
a reference to this, so the API can be used fluently
pause() : $this
While it's paused, no data will be sent to the data handler
.
$this
a reference to this, so the API can be used fluently
resume() : $this
If the ReadStream
has been paused, reading will recommence on it.
$this
a reference to this, so the API can be used fluently