@rtorcato/supabase-common / WithRetryOptions
Interface: WithRetryOptions
Defined in: errors.ts:98
Properties
attempts?
optionalattempts?:number
Defined in: errors.ts:100
Total tries, including the first. Default 3.
baseDelayMs?
optionalbaseDelayMs?:number
Defined in: errors.ts:102
Delay before the first retry in ms, doubled each time. Default 200.
shouldRetry?
optionalshouldRetry?: (err) =>boolean
Defined in: errors.ts:104
Which errors to retry. Default isRetryable.
Parameters
err
unknown
Returns
boolean