Apache Flex 4.16.0 API Reference | All Packages | All Classes | Index | Frames No Frames |
Promise

Package | org.apache.flex.promises
Class | public class Promise
Inheritance | Promise Object
Implements | IThenable

Public Methods

| Method | Defined 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`

Sun Mar 5 2017, 03:42 PM +11:00