Skip to main content
Version: v10.0.0

RetryTimeType

Delay in milliseconds before a retry. The function form gets the attempt (0 for the first retry) and the failed

response . A delay that is not a positive finite number retries right away. When the function throws, the request is not retried.


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

Preview​

type RetryTimeType = number | RetryTimeFunctionType;