Library API
    Preparing search index...

    Class Aborter

    Disposable AbortController implementing TC39 Disposable. Automatically aborts the underlying signal upon scope exit via using.

    Hierarchy

    • AbortController
      • Aborter

    Implements

    • Disposable
    Index
    • Returns Aborter

    signal: AbortSignal

    The signal read-only property of the AbortController interface returns an AbortSignal object instance, which can be used to communicate with/abort an asynchronous operation as desired.

    MDN Reference

    • The abort() method of the AbortController interface aborts an asynchronous operation before it has completed. This is able to abort fetch requests, the consumption of any response bodies, or streams.

      MDN Reference

      Parameters

      • Optionalreason: any

      Returns void