| Interface | Description |
|---|---|
| Deferred<T,F,P> |
A representation of a computation allowing listeners to be notified of state changes.
|
| OnCancel |
Listener for a
Promise entering a Deferred.CANCELLED terminal state. |
| OnComplete | |
| OnProgress<P> |
Listener for a
Deferred.progress(Object) |
| OnReject<F> |
Listener for a
Deferred entering a Deferred.REJECTED state. |
| OnResolve<T> |
Listener for a
Deferred entering a Deferred.RESOLVED state. |
| Progress<T,F,P,Tx,Fx,Px> |
Interceptor allowing modification of chained
Promise's. |
| Promise<T,F,P> |
A read-only representation of a
Deferred allowing listeners to be notified of state changes, though
clients are allowed to attempt to stop the computation using Promise.cancel(boolean). |
| Reject<T,F,Tx,Fx,Px> |
Interceptor allowing modification of chained
Promise's. |
| Resolve<T,Tx,Fx,Px> |
Interceptor allowing modification of chained
Promise's. |
| Exception | Description |
|---|---|
| CancelledException | |
| CompletionException | |
| FailureException | |
| ListenerException | |
| RejectedException | |
| ResolvedException |
API of Then promises library.
The key words "MUST", "MUST NOT", "REQUIRED", "SHALL", "SHALL NOT", "SHOULD", "SHOULD NOT", "RECOMMENDED", "MAY", and "OPTIONAL" in javadoc in this package are to be interpreted as described in RFC 2119.
Copyright © 2015 MachineCode. All rights reserved.