Properties
Readonly
aborted
aborted: boolean
Optional
addEventListener
addEventListener?: ((...args: any) => any)
Type declaration
-
- (...args: any): any
-
Returns any
Optional
onabort
onabort?: null | ((...args: any) => any)
Optional
removeEventListener
removeEventListener?: ((...args: any) => any)
Type declaration
-
- (...args: any): any
-
Returns any
A generic definition of an AbortSignal that should be compatible with the native AbortSignal interface as well its polyfills.
This allows the end-user to prematurely abort a (potentially long-running) request.