Apache Flex 4.16.1 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`

Wed Nov 15 2017, 09:50 AM +01:00