Constructors
constructor
- new PromiseWrapper(inner: Promise<any>): PromiseWrapper
-
Parameters
Methods
always
- always(continuation: ((v: any) => void)): PromiseWrapper
-
Parameters
-
continuation: ((v: any) => void)
-
- (v: any): void
-
Parameters
Returns void
done
- done(continuation: ((v: any) => void)): PromiseWrapper
-
Parameters
-
continuation: ((v: any) => void)
-
- (v: any): void
-
Parameters
Returns void
fail
- fail(continuation: ((v: any) => void)): PromiseWrapper
-
Parameters
-
continuation: ((v: any) => void)
-
- (v: any): void
-
Parameters
Returns void
state
- state(): string
-
Returns string
then
- then(pass: ((v: any) => void), fail: ((e: any) => void)): PromiseWrapper
-
Parameters
-
pass: ((v: any) => void)
-
- (v: any): void
-
Parameters
Returns void
-
fail: ((e: any) => void)
-
- (e: any): void
-
Parameters
Returns void