abstract fun handler(handler: Handler<T>): ReadStream<T>
Set a data handler. As data is read, the handler will be called with the data.
handler -
handler
Return a reference to this, so the API can be used fluently