Promise

<p>A callback abstraction that handles completed/failed events of asynchronous operations.</p>

@param <C> the type of the context object

Members

Classes

Adapter
class Adapter(U)

<p>Empty implementation of {@link Promise}.</p>

Functions

failed
void failed(Exception x)

<p>Callback invoked when the operation fails.</p>

id
string id()
Undocumented in source.
succeeded
void succeeded(C result)

<p>Callback invoked when the operation completes.</p>

Meta