Packageorg.apache.flex.promises
Classpublic class Promise
InheritancePromise Inheritance Object
Implements IThenable



Public Methods
 MethodDefined By
  
Promise(resolver:Function)
Promise
  
then(onFulfilled:Function = null, onRejected:Function = null):IThenable
Promise
Constructor Detail
Promise()Constructor
public function Promise(resolver:Function)



Parameters
resolver:Function
Method Detail
then()method
public function then(onFulfilled:Function = null, onRejected:Function = null):IThenable

Parameters

onFulfilled:Function (default = null)
 
onRejected:Function (default = null)

Returns
IThenable