Methods
catch
- catch<U>(fail?: function): Promise<U>
-
Type parameters
Parameters
finally
-
Parameters
then
- then<U>(done?: function, fail?: function, info?: function): Promise<U>
-
Type parameters
Parameters
-
Optional done: function
-
Optional fail: function
-
-
Parameters
Returns Promise<any>
|
any
-
Optional info: function
This method is described in the Promise/A+ spec.