AbortController
interface
interface AbortControllerA controller object that allows you to abort one or more DOM requests as and when desired.
variable
var AbortController: { … }A controller object that allows you to abort one or more DOM requests as and when desired.
Constructors
constructor
new AbortController(): AbortControllerProperties
signal
readonly signal: AbortSignalReturns the AbortSignal object associated with this object.
prototype
readonly prototype: AbortControllerMethods
abort
abort(reason?: any): voidInvoking this method will set this object's AbortSignal's aborted flag and signal to any observers that the associated activity is to be aborted.