| Modifier and Type | Interface and Description |
|---|---|
interface |
Deferred<T,F,P>
A representation of a computation allowing listeners to be notified of state changes.
|
interface |
ExecutablePromise<T,F,P>
A
Promise that exposes a computational task suitable for execution by an ExecutorService. |
interface |
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). |
| Modifier and Type | Method and Description |
|---|---|
Promise<T,F,P> |
Promise.onCancel(OnCancel then)
Triggered when
Promise.cancel(boolean) is the first terminal method called. |
Deferred<T,F,P> |
Deferred.onCancel(OnCancel then)
Triggered when
Promise.cancel(boolean) is the first terminal method called. |
Copyright © 2014 MachineCode. All rights reserved.