Skip to main content
Version: v10.0.0

RetryTimeFunctionType

Function form of the retry time - returns the delay in milliseconds before the retry attempt (from 0)


Import
import { RetryTimeFunctionType } from "@hyper-fetch/core"

Preview​

type RetryTimeFunctionType = (options: { attempt: number; response: RequestResponseType<RequestInstance> }) => number;