trixnity-client
3.7.0-beta3
common
trixnity-client
/
net.folivo.trixnity.client.store.cache
/
FullRepositoryCoroutineCacheStore
Full
Repository
Coroutine
Cache
Store
class
FullRepositoryCoroutineCacheStore
<
K
,
V
>
(
repository
:
FullRepository
<
K
,
V
>
,
tm
:
TransactionManager
)
:
MinimalRepositoryCoroutineCacheStore
<
K
,
V
>
Members
Constructors
Full
Repository
Coroutine
Cache
Store
Link copied to clipboard
constructor
(
repository
:
FullRepository
<
K
,
V
>
,
tm
:
TransactionManager
)
Functions
delete
All
Link copied to clipboard
open
suspend override
fun
deleteAll
(
)
Delete all values from store.
get
Link copied to clipboard
open
suspend override
fun
get
(
key
:
K
)
:
V
?
Retrieve value from store.
get
All
Link copied to clipboard
suspend
fun
getAll
(
)
:
List
<
V
>
persist
Link copied to clipboard
open
suspend override
fun
persist
(
key
:
K
,
value
:
V
?
)
:
StateFlow
<
Boolean
>
?
Save value to store.