type FetchRetryFunc: (req, resp, attempt) => Promise<boolean>;

Called prior to each retry; return true to retry, false to abort.

Parameters

ParameterType
reqFetchRequest
respFetchResponse
attemptnumber

Returns

Promise<boolean>

Source

utils/fetch.ts:66