race-signal
    Preparing search index...

    Interface RaceSignalOptions

    interface RaceSignalOptions {
        translateError(signal: AbortSignal): Error;
    }
    Index

    Methods

    • By default the rejection reason will be taken from the .reason field of the aborted signal.

      Passing a function here allows overriding the default error.

      Parameters

      Returns Error