Inherited Attributes
Attributes inherited from: Object
hash, string
Methods
endHandlershared ReadStream<T> endHandler(Anything()? endHandler)

Set an end handler. Once the stream has ended, and there is no more data to be read, this handler will be called.

exceptionHandlershared ReadStream<T> exceptionHandler(Anything(Throwable)? handler)

Set an exception handler on the read stream.

Parameters:
  • handler

    the exception handler

handlershared ReadStream<T> handler(Anything(T)? handler)

Set a data handler. As data is read, the handler will be called with the data.

pauseshared ReadStream<T> pause()

Pause the ReadSupport. While it's paused, no data will be sent to the dataHandler

resumeshared ReadStream<T> resume()

Resume reading. If the ReadSupport has been paused, reading will recommence on it.

Inherited Methods
Methods inherited from: Object
equals
Methods inherited from: StreamBase