Skip to main content
The Deno 2 Release Candidate is here
Learn more
Module

x/poolifier/src/utils.ts>exponentialDelay

Fast and small web worker pool
Latest
variable exponentialDelay
import { exponentialDelay } from "https://deno.land/x/poolifier@v0.3.14/src/utils.ts";

Computes the retry delay in milliseconds using an exponential back off algorithm.

type

(retryNumber?, delayFactor?) => number