Skip to main content
Module

x/p_retried/mod.ts

Retry a promise-returning or async function. Abstraction for exponential and custom retry strategies for failed operations
Latest
import * as pRetried from "https://deno.land/x/p_retried@1.0.7/mod.ts";

Functions

Returns a Promise that is fulfilled when calling input returns a fulfilled promise. If calling input returns a rejected promise, input is called again until the maximum number of retries is reached. It then rejects with the last rejection reason.