Documentation
    Preparing search index...

    Interface AbortHandle<TSignal>

    A cancellation source: a signal to hand the transport and the switch that trips it. The DOM's AbortController satisfies it exactly, which is the point — abortController: () => new AbortController() is the whole integration.

    interface AbortHandle<TSignal> {
        signal: TSignal;
        abort(): void;
    }

    Type Parameters

    • TSignal
    Index
    signal: TSignal

    Handed to FetchLike as init.signal.

    • Cancels the request the signal was given to. Called at most once.

      Returns void