Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface AbortSignalLike

Package version

Allows the request to be aborted upon firing of the "abort" event. Compatible with the browser built-in AbortSignal and common polyfills.

Hierarchy

  • AbortSignalLike

Implemented by

Index

Properties

aborted

aborted: boolean

Indicates if the signal has already been aborted.

Methods

addEventListener

  • addEventListener(type: "abort", listener: function, options?: any): void
  • Add new "abort" event listener, only support "abort" event.

    Parameters

    Returns void

removeEventListener

  • removeEventListener(type: "abort", listener: function, options?: any): void
  • Remove "abort" event listener, only support "abort" event.

    Parameters

    Returns void

Generated using TypeDoc