Type Alias: BeforeRetryState
BeforeRetryState =
RetryContext&object
Defined in: src/types/hooks.ts:41
State passed to beforeRetry hooks.
Extends RetryContext with the normalized request options. Exactly one of response / error is set, discriminated by reason. Return a new Request from the hook to replace request for the remaining attempts.
Type Declaration
options
options:
NormalizedOptions
Normalized request options