| Interface | Description |
|---|---|
| Promise<T> |
A "promise", the core concept of this class is based on the JavaScript ES6 promise implementation, with adaptions
where necessary or where it made more sense.
|
| PromiseFactory |
Create promises in completion states, or allow them to be run asynchronously.
|
| Class | Description |
|---|---|
| BlockingPromise<T> |
Wraps a
Promise created using PromiseFactory, so that we can resolve a promise after the fact. |
| PromiseApi |
Helpers for the creation and use promises.
|
| Enum | Description |
|---|---|
| PromiseState |
A promise can have one of three states, pending, fulfilled, or rejected.
|
| Exception | Description |
|---|---|
| AggregateException |
A list of exceptions which cause this one.
|
| CircularResolutionException |
Thrown on the attempted resolution of a completed promise, that forms OR will form a circular reference.
|
| MutatedStateException |
Thrown if something attempted to change the state of a promise more then once.
|
| SelfResolutionException |
An exception that is triggered if a promise attempts to resolve itself.
|