wretch
Preparing search index...
middlewares/retry
OnRetryFunction
Type Alias OnRetryFunction
OnRetryFunction
:
(
args
:
{
attempt
:
number
;
error
?:
Error
;
options
:
WretchOptions
;
response
?:
Response
;
url
:
string
;
}
,
)
=>
void
|
OnRetryFunctionResponse
|
Promise
<
OnRetryFunctionResponse
>
Type Declaration
(
args
:
{
attempt
:
number
;
error
?:
Error
;
options
:
WretchOptions
;
response
?:
Response
;
url
:
string
;
}
,
)
:
void
|
OnRetryFunctionResponse
|
Promise
<
OnRetryFunctionResponse
>
Parameters
args
:
{
attempt
:
number
;
error
?:
Error
;
options
:
WretchOptions
;
response
?:
Response
;
url
:
string
;
}
Returns
void
|
OnRetryFunctionResponse
|
Promise
<
OnRetryFunctionResponse
>
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
wretch
Loading...