PromiseUtils: { PromiseStatus: typeof PromiseStatus; abortError: (() => Error); delay: ((duration) => Promise<void>); } Type declaration
abortError: (() => Error)
- (): Error
Returns Error
The error.
delay: ((duration) => Promise<void>)
- (duration): Promise<void>
Returns Promise<void>
The promise.
Returns an Error with the 'aborted' reason.