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

x/fetch_goody/mod.ts>RetryDelayFunction

a fetch wrapper that supports interceptors, JSON body, retry, timeout and many many more ...
Latest
type alias RetryDelayFunction
Re-export
import { type RetryDelayFunction } from "https://deno.land/x/fetch_goody@7.0.6/mod.ts";

the type of function that you can pass to retryDelay option of the extended init

definition: (options: { attempt: number; request: ExtendedRequest; error: unknown; abortController: AbortController; }) => number