OptionalbaseOptionalmaxMaximum number of retry attempts.
OptionalmaxMaximum delay between retries in ms
OptionalretryableStatus codes that should trigger a retry
OptionalshouldCustom function to determine if a request should be retried.
Receives a resolved ok: false response for an HTTP-status retry, or
a rejected transport FetchError for a transport retry — narrow with
isFetchError(). If the function returns a number, it will be used
as the delay in milliseconds before the next retry.
OptionaluseWhether to use exponential backoff
Base delay between retries in ms.