type FetchRetryFunc: (req, resp, attempt) => Promise<boolean>;
Called prior to each retry; return true to retry, false to abort.
req
FetchRequest
resp
FetchResponse
attempt
number
Promise<boolean>
Promise
boolean
utils/fetch.ts:66
Was this page helpful?