trixnity-client
3.5.1
common
trixnity-client
/
net.folivo.trixnity.client.store.cache
/
TwoDimensionsRepositoryStateFlowCache
/
update
update
suspend
fun
update
(
key
:
K1
,
persistIntoRepository
:
Boolean
=
true
,
onPersist
:
suspend
(
newValue
:
Map
<
K2
,
V
>
?
)
->
Unit
=
{}
,
updater
:
suspend
(
oldValue
:
Map
<
K2
,
V
>
?
)
->
Map
<
K2
,
V
>
?
)