Package | org.apache.flex.promises |
Class | public class Promise |
Inheritance | Promise Object |
Implements | IThenable |
Method | Defined By | ||
---|---|---|---|
Promise(resolver:Function) | Promise | ||
Promise |
Promise | () | Constructor |
public function Promise(resolver:Function)
resolver:Function |
then | () | method |
public function then(onFulfilled:Function = null, onRejected:Function = null):IThenable
Parameters
onFulfilled:Function (default = null )
| |
onRejected:Function (default = null )
|
IThenable |