public class CompletableHelper extends Object
| Constructor and Description |
|---|
CompletableHelper() |
| Modifier and Type | Method and Description |
|---|---|
static <T> CompletableObserver |
toObserver(Handler<AsyncResult<T>> handler)
Adapts an Vert.x
Handler<AsyncResult<T>> to an RxJava2 SingleObserver. |
public static <T> CompletableObserver toObserver(Handler<AsyncResult<T>> handler)
Handler<AsyncResult<T>> to an RxJava2 SingleObserver.
The returned observer can be subscribed to an Single.subscribe(SingleObserver).
handler - the handler to adaptCopyright © 2018 Eclipse. All rights reserved.