vertx / io.vertx.reactivex.core.streams / ReadStream / handler

handler

abstract fun handler(handler: Handler<T>): ReadStream<T>

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

Parameters

handler -

Return
a reference to this, so the API can be used fluently