Promise

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

@param <T> the type of the context object

Members

Functions

failed
bool failed(Throwable x)

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

succeeded
bool succeeded(T result)
Undocumented in source.
succeeded
bool succeeded()

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

See Also

Meta