Interface AbortSignal

A signal object that allows you to communicate with a DOM request (such as a Fetch) and abort it if required via an AbortController object.

Hierarchy

Properties

aborted: boolean

Returns true if this AbortSignal's AbortController has signaled to abort, and false otherwise.

onabort: ((this: AbortSignal, ev: Event) => any)

Type declaration

Methods

  • Dispatches a synthetic event event to target and returns true if either event's cancelable attribute value is false or its preventDefault() method was not invoked, and false otherwise.

    Parameters

    Returns boolean

  • Dispatches a synthetic event event to target and returns true if either event's cancelable attribute value is false or its preventDefault() method was not invoked, and false otherwise.

    Parameters

    Returns boolean

Generated using TypeDoc