Kotlin Wrappers API Reference
Toggle table of contents
js
Platform filter
js
Switch theme
kotlin-tanstack-query-core
/
tanstack.query.core
/
QueryCacheConfig
Query
Cache
Config
external
interface
QueryCacheConfig
(
source
)
Members
Properties
on
Error
Link copied to clipboard
abstract
val
onError
:
(
DefaultError
,
query
:
Query
<
*
,
*
,
*
,
*
>
)
->
Unit
?
on
Settled
Link copied to clipboard
abstract
val
onSettled
:
(
data
:
Any
?
,
DefaultError
?
,
query
:
Query
<
*
,
*
,
*
,
*
>
)
->
Unit
?
on
Success
Link copied to clipboard
abstract
val
onSuccess
:
(
data
:
Any
,
query
:
Query
<
*
,
*
,
*
,
*
>
)
->
Unit
?