Member Junction
    Preparing search index...

    Function AbortableDelay

    • Waits ms milliseconds, rejecting with a cancellation error as soon as the signal aborts. For retry backoff and polling loops, which must not keep a cancelled request alive while they sleep.

      Parameters

      • ms: number
      • Optionalsignal: AbortSignal

      Returns Promise<void>