Methods
always
- always(fn: (this: this, v: any, success: boolean) => any | Promise<any>): Promise<T>
-
Parameters
-
fn: (this: this, v: any, success: boolean) => any | Promise<any>
-
- (this: this, v: any, success: boolean): any | Promise<any>
-
Parameters
-
this: this
-
v: any
-
success: boolean
Returns any | Promise<any>
Add some helpful methods for Promise.prototype