@bodil/core - v0.4.0
    Preparing search index...

    Class DisposableAbortController

    An implementation of AbortController which also implements Disposable.

    Disposing the controller automatically triggers the abort signal.

    Implements

    Index

    Constructors

    Accessors

    Methods

    Constructors

    Accessors

    • get 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

      Returns AbortSignal

    Methods

    • The abort() method of the AbortController interface aborts an asynchronous operation before it has completed.

      MDN Reference

      Parameters

      • Optionalreason: any

      Returns void