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.
Parameters
Section titled “Parameters”attempt
Section titled “attempt”number
baseMs
Section titled “baseMs”number
signal?
Section titled “signal?”AbortSignal
Returns
Section titled “Returns”Promise<void>