Class: DeferredClass

DeferredClass()

new DeferredClass()

Source:

Members

isRejected :Boolean

Type:
  • Boolean
Source:

isResolved :Boolean

Type:
  • Boolean
Source:

promise :Promise.<T>

Type:
  • Promise.<T>
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