Class Deferred<T>
Type parameters
-
T
Hierarchy
- Deferred
Index
Constructors
constructor
-
Constructor for this deferred object.
Returns Deferred
Properties
Readonly promiseSearch playground for promise
The promise associated with this deferred object.
Accessors
reject
-
The reject method of the promise associated with this deferred object.
Returns (reason?: any) => void
-
-
Parameters
-
Optional reason: any
Returns void
-
-
-
resolve
-
The resolve method of the promise associated with this deferred object.
Returns (value: T | PromiseLike<T>) => void
-
-
Parameters
-
value: T | PromiseLike<T>
Returns void
-
-
-
Wrapper class for promise with external resolve and reject.