Skip to main content
Deno 2 is finally here 🎉️
Learn more
Module

x/proc/tools/deps/retry.ts

A better way to work with processes in Deno.
Go to Latest
import * as proc from "https://deno.land/x/proc@0.21.5/tools/deps/retry.ts";

Functions

Calls the given (possibly asynchronous) function up to maxAttempts times. Retries as long as the given function throws. If the attempts are exhausted, throws an RetryError with cause set to the inner exception.