Classes
AbortController
Implements
Constructors
new AbortController()
new AbortController(): AbortController
Returns
Properties
Property | Type | Description |
---|---|---|
signal | AbortSignal | Returns the AbortSignal object associated with this object. MDN Reference |
Methods
abort()
abort(reason
?): void
Invoking this method will set this object's AbortSignal's aborted flag and signal to any observers that the associated activity is to be aborted.
Parameters
Parameter | Type |
---|---|
reason ? | any |
Returns
void
Implementation of
globalThis.AbortController.abort