Optional ReadonlytimeoutRequest timeout in milliseconds.
Optional ReadonlymaxMaximum number of retry attempts (excluding the initial attempt).
Optional ReadonlyretryInitial delay in milliseconds before the first retry.
Optional ReadonlyretryPredicate to decide if a failed response should be retried.
Extended fetch options with retry and timeout settings.
Remarks
All properties are optional. The
timeoutMs,maxRetries,retryDelayMs,and
retryOnare used by fetchWithRetry. Any other standardRequestInitproperties (e.g.,method,headers,body) are passeddirectly to
fetch.Note: The
signalproperty is omitted because it is used internally bythe timeout mechanism. Do not provide your own
signalwhen usingfetchWithRetry.
Since
0.1.1