AbortSignalLike
Defined in: next/api.d.ts:226
The members of an AbortSignal that the signal option reads, which the
AbortSignal of every realm has, and a polyfill may have without the
others. Every AbortSignal of the DOM library and of the types of Node.js
is one; the declarations of this module need neither.
Properties
Section titled “Properties”aborted
Section titled “aborted”
readonlyaborted:boolean
Defined in: next/api.d.ts:228
Whether the signal has aborted.
reason?
Section titled “reason?”
readonlyoptionalreason?:unknown
Defined in: next/api.d.ts:230
What a call rejects with once the signal has aborted.
Methods
Section titled “Methods”addEventListener()
Section titled “addEventListener()”addEventListener(
type,listener,options?):void
Defined in: next/api.d.ts:231
Parameters
Section titled “Parameters”"abort"
listener
Section titled “listener”() => void
options?
Section titled “options?”boolean
Returns
Section titled “Returns”void
removeEventListener()
Section titled “removeEventListener()”removeEventListener(
type,listener):void
Defined in: next/api.d.ts:234
Parameters
Section titled “Parameters”"abort"
listener
Section titled “listener”() => void
Returns
Section titled “Returns”void