Skip to main content
Module

x/proc/deps.ts>RetryOptions

A high-level way to run child processes that is easy, flexible, powerful, and prevents resource leaks.
Very Popular
Go to Latest
interface RetryOptions
import { type RetryOptions } from "https://deno.land/x/proc@0.19.12/deps.ts";

Properties

optional
multiplier: number

How much to backoff after each retry. This is 2 by default.

optional
maxTimeout: number

The maximum milliseconds between retries. This is 60000 by default.

optional
maxAttempts: number

The maximum amount of retries until failure. This is 5 by default.

optional
minTimeout: number

The inital and minimum amount of milliseconds between retries. This is 1000 by default.