TimeoutPromise
Static Method Summary
| Static Public Methods | ||
| public static |
wrapPromise(promise: *, timeout: number, callback: *): * |
|
Constructor Summary
| Public Constructor | ||
| public |
|
|
Member Summary
| Public Members | ||
| public get |
bad: * |
|
| public |
|
|
| public |
silent: * |
|
| public |
time: * |
|
| public |
timeout: * |
|
| Private Members | ||
| private |
_accept: * |
|
| private |
_promise: * |
|
| private |
_reject: * |
|
Method Summary
| Public Methods | ||
| public |
catch(callback: *): * |
|
| public |
finally(callback: *): * |
|
| public |
then(callback: *): * |
|
| Private Methods | ||
| private |
_accept2(val: *): * |
|
| private |
_reject2(error: *) |
|
Static Public Methods
Public Constructors
public constructor() source
Public Members
public get bad: * source
public silent: * source
public time: * source
public timeout: * source
Private Members
private _accept: * source
private _promise: * source
private _reject: * source
Public Methods
Private Methods
private _reject2(error: *) source
Params:
| Name | Type | Attribute | Description |
| error | * |
