abstract fun endHandler(endHandler: Handler<Void>): ReadStream<T>
Set an end handler. Once the stream has ended, and there is no more data to be read, this handler will be called.
endHandler -
endHandler
Return a reference to this, so the API can be used fluently