| Package | Description |
|---|---|
| io.vertx.rxjava3 |
| Modifier and Type | Method and Description |
|---|---|
WriteStreamObserver<R> |
WriteStreamObserver.onError(io.reactivex.rxjava3.functions.Consumer<? super Throwable> handler)
Sets the handler to invoke if the
Observable that was subscribed to terminates with an error. |
WriteStreamObserver<R> |
WriteStreamObserver.onWriteStreamEnd(io.reactivex.rxjava3.functions.Action handler)
Sets the handler to invoke when the adapted
WriteStream ends successfully. |
WriteStreamObserver<R> |
WriteStreamObserver.onWriteStreamEndError(io.reactivex.rxjava3.functions.Consumer<? super Throwable> handler)
Sets the handler to invoke when the adapted
WriteStream ends with an error. |
WriteStreamObserver<R> |
WriteStreamObserver.onWriteStreamError(io.reactivex.rxjava3.functions.Consumer<? super Throwable> handler)
Sets the handler to invoke if the adapted
WriteStream fails. |
static <T> WriteStreamObserver<T> |
RxHelper.toObserver(io.vertx.core.streams.WriteStream<T> stream)
Adapts a Vert.x
WriteStream to an RxJava Observer. |
static <R,T> WriteStreamObserver<R> |
RxHelper.toObserver(io.vertx.core.streams.WriteStream<T> stream,
Function<R,T> mapping)
Like
RxHelper.toObserver(WriteStream), except the provided mapping function is applied to each Observable item. |
Copyright © 2024 Eclipse. All rights reserved.