Skip to content

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.

readonly aborted: boolean

Defined in: next/api.d.ts:228

Whether the signal has aborted.


readonly optional reason?: unknown

Defined in: next/api.d.ts:230

What a call rejects with once the signal has aborted.

addEventListener(type, listener, options?): void

Defined in: next/api.d.ts:231

"abort"

() => void

boolean

void


removeEventListener(type, listener): void

Defined in: next/api.d.ts:234

"abort"

() => void

void