Promise<T> |
Promise.onFailure(Consumer<? super java.lang.Throwable> failure) |
Register a callback to be called with the failure for this Promise when
this Promise is resolved with a failure.
|
Promise<T> |
PromiseImpl.onFailure(Consumer<? super java.lang.Throwable> failure) |
Register a callback to be called with the failure for this Promise when
this Promise is resolved with a failure.
|
Promise<T> |
ResolvedPromiseImpl.onFailure(Consumer<? super java.lang.Throwable> failure) |
Register a callback to be called with the failure for this Promise when
this Promise is resolved with a failure.
|
Promise<T> |
FailedPromiseImpl.onSuccess(Consumer<? super T> success) |
Register a callback to be called with the result of this Promise when
this Promise is resolved successfully.
|
Promise<T> |
Promise.onSuccess(Consumer<? super T> success) |
Register a callback to be called with the result of this Promise when
this Promise is resolved successfully.
|
Promise<T> |
PromiseImpl.onSuccess(Consumer<? super T> success) |
Register a callback to be called with the result of this Promise when
this Promise is resolved successfully.
|
Promise<T> |
FailedPromiseImpl.thenAccept(Consumer<? super T> consumer) |
Chain a new Promise to this Promise with a Consumer callback that
receives the value of this Promise when it is successfully resolved.
|
Promise<T> |
Promise.thenAccept(Consumer<? super T> consumer) |
Chain a new Promise to this Promise with a Consumer callback that
receives the value of this Promise when it is successfully resolved.
|
Promise<T> |
PromiseImpl.thenAccept(Consumer<? super T> consumer) |
Chain a new Promise to this Promise with a Consumer callback that
receives the value of this Promise when it is successfully resolved.
|