toggle menu
Kotlin Wrappers API Reference
js
switch theme
search in API
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
?