Class: DeferredClass
new DeferredClass()
- Source:
Members
isRejected :Boolean
Type:
- Source:
isResolved :Boolean
Type:
- Source:
promise :Promise.<T>
Type:
- Source:
Methods
reject(erroropt) → {this}
Parameters:
Name |
Type |
Attributes |
Description |
error |
any
|
<optional>
|
|
- Source:
Returns:
-
Type
-
this
resolve(useValue) → {this}
Parameters:
Name |
Type |
Description |
useValue |
T
|
|
- Source:
Returns:
-
Type
-
this