Preparing search index...
The search index is not available
wretch
wretch
middlewares/retry
OnRetryFunction
Type alias OnRetryFunction
On
Retry
Function
:
(
(
args
:
{
error
?:
Error
;
options
:
WretchOptions
;
response
?:
Response
;
url
:
string
}
)
=>
void
|
OnRetryFunctionResponse
|
Promise
<
OnRetryFunctionResponse
>
)
Type declaration
(
args
:
{
error
?:
Error
;
options
:
WretchOptions
;
response
?:
Response
;
url
:
string
}
)
:
void
|
OnRetryFunctionResponse
|
Promise
<
OnRetryFunctionResponse
>
Parameters
args:
{
error
?:
Error
;
options
:
WretchOptions
;
response
?:
Response
;
url
:
string
}
Optional
error
?:
Error
options
:
WretchOptions
Optional
response
?:
Response
url
:
string
Returns
void
|
OnRetryFunctionResponse
|
Promise
<
OnRetryFunctionResponse
>
Settings
Member Visibility
Protected
Private
Inherited
External
Theme
OS
Light
Dark
Modules
wretch
addons
addons/abort
addons/form
Data
addons/form
Url
addons/perfs
addons/query
String
index
default
middlewares
middlewares/dedupe
middlewares/delay
middlewares/retry
middlewares/throttling
Cache
Delay
Ramp
Function
On
Retry
Function
On
Retry
Function
Response
Retry
Middleware
Retry
Options
Until
Function
retry
Generated using
TypeDoc