Interface AbortSignalLike
Properties
aborted
aborted: boolean
Methods
addEventListener
- addEventListener(type: "abort", listener: function, options?: any): void
-
Parameters
-
type: "abort"
-
listener: function
-
Optional options: any
Returns void
removeEventListener
- removeEventListener(type: "abort", listener: function, options?: any): void
-
Parameters
-
type: "abort"
-
listener: function
-
Optional options: any
Returns void
Allows the request to be aborted upon firing of the "abort" event. Compatible with the browser built-in AbortSignal and common polyfills.