TOC Toolkit API - v0.1.0
    Preparing search index...

    Interface CancellationSignal

    The cancellation subset implemented by native AbortSignal, without ambient browser APIs.

    interface CancellationSignal {
        aborted: boolean;
        addEventListener(
            type: "abort",
            listener: () => void,
            options?: { once?: boolean },
        ): void;
        removeEventListener(type: "abort", listener: () => void): void;
    }
    Index
    aborted: boolean
    • Parameters

      • type: "abort"
      • listener: () => void
      • Optionaloptions: { once?: boolean }

      Returns void

    • Parameters

      • type: "abort"
      • listener: () => void

      Returns void