| Package | Description |
|---|---|
| io.smallrye.mutiny.vertx | |
| io.smallrye.mutiny.vertx.impl |
| Modifier and Type | Method and Description |
|---|---|
WriteStreamSubscriber<T> |
WriteStreamSubscriber.onComplete(Runnable callback)
Sets the handler to invoke on completion events.
|
WriteStreamSubscriber<T> |
WriteStreamSubscriber.onFailure(Consumer<? super Throwable> callback)
Sets the handler to invoke on failure events.
|
WriteStreamSubscriber<T> |
WriteStreamSubscriber.onWriteStreamError(Consumer<? super Throwable> callback)
Sets the handler to invoke if the adapted
WriteStream fails. |
static <T> WriteStreamSubscriber<T> |
MutinyHelper.toSubscriber(io.vertx.core.streams.WriteStream<T> stream)
Adapts a Vert.x
WriteStream to a Mutiny Subscriber. |
static <R,T> WriteStreamSubscriber<R> |
MutinyHelper.toSubscriber(io.vertx.core.streams.WriteStream<T> stream,
Function<R,T> mapping)
Like
MutinyHelper.toSubscriber(WriteStream), except the provided mapping function is applied to each item. |
| Modifier and Type | Class and Description |
|---|---|
class |
WriteStreamSubscriberImpl<I,O> |
| Modifier and Type | Method and Description |
|---|---|
WriteStreamSubscriber<I> |
WriteStreamSubscriberImpl.onComplete(Runnable handler) |
WriteStreamSubscriber<I> |
WriteStreamSubscriberImpl.onFailure(Consumer<? super Throwable> handler) |
WriteStreamSubscriber<I> |
WriteStreamSubscriberImpl.onWriteStreamError(Consumer<? super Throwable> handler) |
Copyright © 2019–2020 SmallRye. All rights reserved.