Constructors
constructor
Defined in Framework.ts:851
Parameters
resolver: function
( resolve: function , reject: function ) : void
Parameters
resolve: function
reject: function
Returns void
Properties
Static FULFILLED
FULFILLED: number
Defined in Framework.ts:847
Static PENDING
PENDING: number
Defined in Framework.ts:846
Static REJECTED
REJECTED: number
Defined in Framework.ts:848
Methods
Protected _doResolve
_doResolve( resolver: any , onFulfilled: any , onRejected: any ) : void
Defined in Framework.ts:881
Parameters
resolver: any
onFulfilled: any
onRejected: any
Returns void
Protected _done
_done( onFulfilled: any , onRejected: any ) : void
Defined in Framework.ts:883
Parameters
onFulfilled: any
onRejected: any
Returns void
Protected _fulfill
_fulfill( result: any ) : void
Defined in Framework.ts:873
Parameters
Returns void
Protected _handle
_handle( handler: any ) : void
Defined in Framework.ts:882
Parameters
Returns void
Protected _reject
_reject( error: any ) : void
Defined in Framework.ts:874
Parameters
Returns void
Protected _resolve
_resolve( result: any ) : void
Defined in Framework.ts:875
Parameters
Returns void
then
then<U>( onFulfilled: function , onRejected: function ) : Thenable < U >
then<U>( onFulfilled: function , onRejected?: function ) : Thenable < U >
then<U>( onFulfilled: function , onRejected: function ) : Thenable < U >
then<U>( onFulfilled?: function , onRejected?: function ) : Thenable < U >
Defined in Framework.ts:869
Type parameters
Parameters
onFulfilled: function
onRejected: function
Defined in Framework.ts:870
Type parameters
Parameters
onFulfilled: function
Optional onRejected: function
Defined in Framework.ts:871
Type parameters
Parameters
onFulfilled: function
onRejected: function
Defined in Framework.ts:872
Type parameters
Parameters
Optional onFulfilled: function
Optional onRejected: function
Static Protected _getThen
_getThen( value: any ) : Function
Defined in Framework.ts:880
Parameters
Returns Function
Static all
Defined in Framework.ts:865
Type parameters
Parameters
Defined in Framework.ts:866
Type parameters
Parameters
Defined in Framework.ts:867
Type parameters
Parameters
Defined in Framework.ts:868
Type parameters
Parameters
Static reject
Defined in Framework.ts:864
Parameters
Static resolve
Defined in Framework.ts:858
Type parameters
Parameters
Defined in Framework.ts:859
Type parameters
Parameters
Legend
Module
Object literal
Variable
Function
Function with type parameter
Index signature
Type alias
Type alias with type parameter
Enumeration
Enumeration member
Property
Method
Interface
Interface with type parameter
Constructor
Property
Method
Index signature
Class
Class with type parameter
Constructor
Property
Method
Accessor
Index signature
Inherited constructor
Inherited property
Inherited method
Inherited accessor
Protected property
Protected method
Protected accessor
Private property
Private method
Private accessor
Static property
Static method
A very lightweight promise implementation. Used internally within Framework to avoid forcing consumers to load a 3rd party promise library. Applications that need to use promises are probably better off using a full-featured promise library rather than this class.