toggle menu
Kotlin Wrappers API Reference
js
switch theme
search in API
kotlin-tanstack-query-core
/
tanstack.query.core
/
RetryerConfig
Retryer
Config
external
interface
RetryerConfig
<
TData
,
TError
>
(
source
)
Members
Properties
abort
Link copied to clipboard
abstract
val
abort
:
(
)
->
Unit
?
can
Run
Link copied to clipboard
abstract
val
canRun
:
(
)
->
Boolean
fn
Link copied to clipboard
abstract
val
fn
:
(
)
->
PromiseResult
<
TData
>
initial
Promise
Link copied to clipboard
abstract
val
initialPromise
:
Promise
<
TData
>
?
network
Mode
Link copied to clipboard
abstract
val
networkMode
:
NetworkMode
?
on
Continue
Link copied to clipboard
abstract
val
onContinue
:
(
)
->
Unit
?
on
Error
Link copied to clipboard
abstract
val
onError
:
(
error
:
TError
)
->
Unit
?
on
Fail
Link copied to clipboard
abstract
val
onFail
:
(
failureCount
:
Int
,
error
:
TError
)
->
Unit
?
on
Pause
Link copied to clipboard
abstract
val
onPause
:
(
)
->
Unit
?
on
Success
Link copied to clipboard
abstract
val
onSuccess
:
(
data
:
TData
)
->
Unit
?
retry
Link copied to clipboard
abstract
val
retry
:
RetryValue
<
TError
>
?
retry
Delay
Link copied to clipboard
abstract
val
retryDelay
:
RetryDelayValue
<
TError
>
?