A class which wraps a promise into a delegate object.
This class is useful when the logic to resolve or reject a promise cannot be defined at the point where the promise is created.
Construct a new promise delegate.
The promise wrapped by the delegate.
Reject the wrapped promise with the given value.
Resolve the wrapped promise with the given value.
The value to use for resolving the promise.
Generated using TypeDoc