Skip to content

Function: pollDelay()

pollDelay(attempt, baseMs, signal?): Promise<void>

Wait out nextPollDelay before the next attempt. Rejects with the signal’s reason when the caller cancels mid-wait, so a poll loop unwinds instead of finishing its backoff first.

number

number

AbortSignal

Promise<void>