toggle menu
Kotlin Wrappers API Reference
js
switch theme
search in API
kotlin-tanstack-query-core
/
tanstack.query.core
/
MutateOptions
Mutate
Options
external
interface
MutateOptions
<
TData
,
TError
,
TVariables
,
TContext
>
(
source
)
Members
Properties
on
Error
Link copied to clipboard
abstract
val
onError
:
(
error
:
TError
,
variables
:
TVariables
,
context
:
TContext
?
)
->
Unit
?
on
Settled
Link copied to clipboard
abstract
val
onSettled
:
(
data
:
TData
?
,
error
:
TError
?
,
variables
:
TVariables
,
context
:
TContext
?
)
->
Unit
?
on
Success
Link copied to clipboard
abstract
val
onSuccess
:
(
data
:
TData
,
variables
:
TVariables
,
context
:
TContext
)
->
Unit
?