A generic definition of an AbortSignal that should be compatible with the native AbortSignal interface as well its polyfills.

This allows the end-user to prematurely abort a (potentially long-running) request.

Hierarchy

  • GenericAbortSignal

Properties

aborted: boolean
addEventListener?: ((...args: any) => any)

Type declaration

    • (...args: any): any
    • Parameters

      • Rest ...args: any

      Returns any

onabort?: null | ((...args: any) => any)
removeEventListener?: ((...args: any) => any)

Type declaration

    • (...args: any): any
    • Parameters

      • Rest ...args: any

      Returns any

Generated using TypeDoc