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