Constructors
constructor
Defined in Framework.ts:888
Parameters
resolver: function
( resolve: function , reject: function ) : void
Parameters
resolve: function
reject: function
Returns void
Properties
Static FULFILLED
FULFILLED: number
Defined in Framework.ts:884
Static PENDING
PENDING: number
Defined in Framework.ts:883
Static REJECTED
REJECTED: number
Defined in Framework.ts:885
Methods
Protected _doResolve
_doResolve( resolver: any , onFulfilled: any , onRejected: any ) : void
Defined in Framework.ts:918
Parameters
resolver: any
onFulfilled: any
onRejected: any
Returns void
Protected _done
_done( onFulfilled: any , onRejected: any ) : void
Defined in Framework.ts:920
Parameters
onFulfilled: any
onRejected: any
Returns void
Protected _fulfill
_fulfill( result: any ) : void
Defined in Framework.ts:910
Parameters
Returns void
Protected _handle
_handle( handler: any ) : void
Defined in Framework.ts:919
Parameters
Returns void
Protected _reject
_reject( error: any ) : void
Defined in Framework.ts:911
Parameters
Returns void
Protected _resolve
_resolve( result: any ) : void
Defined in Framework.ts:912
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:906
Type parameters
Parameters
onFulfilled: function
onRejected: function
Defined in Framework.ts:907
Type parameters
Parameters
onFulfilled: function
Optional onRejected: function
Defined in Framework.ts:908
Type parameters
Parameters
onFulfilled: function
onRejected: function
Defined in Framework.ts:909
Type parameters
Parameters
Optional onFulfilled: function
Optional onRejected: function
Static Protected _getThen
_getThen( value: any ) : function
Defined in Framework.ts:917
Parameters
Returns function
Static all
Defined in Framework.ts:902
Type parameters
Parameters
Defined in Framework.ts:903
Type parameters
Parameters
Defined in Framework.ts:904
Type parameters
Parameters
Defined in Framework.ts:905
Type parameters
Parameters
Static reject
Defined in Framework.ts:901
Parameters
Static resolve
Defined in Framework.ts:895
Type parameters
Parameters
Defined in Framework.ts:896
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.