Package | Description |
---|---|
io.vertx.reactivex |
Modifier and Type | Method and Description |
---|---|
WriteStreamSubscriber<R> |
WriteStreamSubscriber.onComplete(io.reactivex.functions.Action handler)
Deprecated.
because the
handler may be called while there are outstanding writes in the underlying WriteStream .
Use onWriteStreamEnd(Action) instead. |
WriteStreamSubscriber<R> |
WriteStreamSubscriber.onError(io.reactivex.functions.Consumer<? super Throwable> handler)
Sets the handler to invoke if the
Flowable that was subscribed to terminates with an error. |
WriteStreamSubscriber<R> |
WriteStreamSubscriber.onWriteStreamEnd(io.reactivex.functions.Action handler)
Sets the handler to invoke when the adapted
WriteStream ends successfully. |
WriteStreamSubscriber<R> |
WriteStreamSubscriber.onWriteStreamEndError(io.reactivex.functions.Consumer<? super Throwable> handler)
Sets the handler to invoke when the adapted
WriteStream ends with an error. |
WriteStreamSubscriber<R> |
WriteStreamSubscriber.onWriteStreamError(io.reactivex.functions.Consumer<? super Throwable> handler)
Sets the handler to invoke if the adapted
WriteStream fails. |
static <T> WriteStreamSubscriber<T> |
RxHelper.toSubscriber(io.vertx.core.streams.WriteStream<T> stream)
Adapts a Vert.x
WriteStream to an RxJava Subscriber . |
static <R,T> WriteStreamSubscriber<R> |
RxHelper.toSubscriber(io.vertx.core.streams.WriteStream<T> stream,
Function<R,T> mapping)
Like
RxHelper.toSubscriber(WriteStream) , except the provided mapping function is applied to each Flowable item. |
Copyright © 2021 Eclipse. All rights reserved.