opensensemap-client
    Preparing search index...

    Variable AbortSignal

    AbortSignal: {
        prototype: AbortSignal;
        abort(reason?: any): AbortSignal;
        any(signals: AbortSignal[]): AbortSignal;
        timeout(milliseconds: number): AbortSignal;
        new (): AbortSignal;
    }

    Type Declaration

    • prototype: AbortSignal
    • abort: function
      • The AbortSignal.abort() static method returns an AbortSignal that is already set as aborted (and which does not trigger an AbortSignal/abort_event event).

        MDN Reference

        Parameters

        • Optionalreason: any

        Returns AbortSignal

    • any: function
      • The AbortSignal.any() static method takes an iterable of abort signals and returns an AbortSignal.

        MDN Reference

        Parameters

        Returns AbortSignal

    • timeout: function
      • The AbortSignal.timeout() static method returns an AbortSignal that will automatically abort after a specified time.

        MDN Reference

        Parameters

        • milliseconds: number

        Returns AbortSignal