DeferredPromise CLASS

A deferred promise that starts in the PENDING state. It exposes a PromiseHandle which can be used to set the state of this promise.

Parent Class

All Members


TypeNameSignature
constructorDeferredPromisepublic DeferredPromise()
methodgetHandlepublic PromiseHandle getHandle()

Constructors


public DeferredPromise()

Create a deferred promise.


Methods


public PromiseHandle getHandle()

Get a handle to this promise.

Returns

  • A handle to control this promise.

See Also