vertx / io.vertx.grpc / GrpcReadStream / handler

handler

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

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

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