public class CaughtCompletable<Z> extends Object implements Completable<Z>
| Constructor and Description |
|---|
CaughtCompletable(Z completion) |
| Modifier and Type | Method and Description |
|---|---|
Z |
get() |
void |
run(Consumer<? super Z> success) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitrunpublic CaughtCompletable(@NotNull
Z completion)
public void run(@Nullable Consumer<? super Z> success)
run in interface Completable<Z>success - Consumer to be run upon completionpublic Z get()
get in interface Completable<Z>Copyright © 2020. All rights reserved.