Type aliases
AbortablePromiseExecutor
Abortable
PromiseExecutor<T>: (resolve: (value?: T | PromiseLike<T>) => void, reject: (reason?: any) => void, aapi: AbortApi) => void
Type parameters
Type declaration
-
- (resolve: (value?: T | PromiseLike<T>) => void, reject: (reason?: any) => void, aapi: AbortApi): void
-
Parameters
-
resolve: (value?: T | PromiseLike<T>) => void
-
- (value?: T | PromiseLike<T>): void
-
Parameters
-
Optional value: T | PromiseLike<T>
Returns void
-
reject: (reason?: any) => void
-
Returns void
Executor
Executor<T>: (resolve: (value?: T | PromiseLike<T>) => void, reject: (reason?: any) => void) => void
Type parameters
Type declaration
-
- (resolve: (value?: T | PromiseLike<T>) => void, reject: (reason?: any) => void): void
-
Parameters
-
resolve: (value?: T | PromiseLike<T>) => void
-
- (value?: T | PromiseLike<T>): void
-
Parameters
-
Optional value: T | PromiseLike<T>
Returns void
-
reject: (reason?: any) => void
Returns void
OnAbortCallback
OnAbortCallback: () => void | PromiseLike<void>
Type declaration
-
- (): void | PromiseLike<void>
-
Returns void | PromiseLike<void>
OnAbortHandle
OnAbortHandle: unknown | PromiseLike<unknown>