cache-on-hand
Toggle table of contents
common
Target filter
common
Switch theme
Search in API
Skip to content
cache-on-hand
cacheonhand-compose
/
io.github.notoriouscorgi.cacheonhand.compose
/
RememberFireAndForgetMutationResult
/
RememberFireAndForgetMutationResult
Remember
Fire
And
Forget
Mutation
Result
constructor
(
fetchState
:
FetchState
,
error
:
TError
?
,
mutate
:
suspend
(
queryInput
:
TInput
,
optimisticUpdate
:
(
input
:
TInput
)
->
Map
<
out
CacheableInput
,
Any
?
>
?
,
onSuccess
:
suspend
(
)
->
Unit
?
,
onError
:
suspend
(
error
:
TError
)
->
Unit
?
)
->
Unit
)