trixnity-client
3.8.0
common
trixnity-client
/
net.folivo.trixnity.client.store.repository
/
InMemoryAccountRepository
In
Memory
Account
Repository
class
InMemoryAccountRepository
:
InMemoryMinimalRepository
<
Long
,
Account
>
,
AccountRepository
Members
Constructors
In
Memory
Account
Repository
Link copied to clipboard
constructor
(
)
Properties
content
Link copied to clipboard
val
content
:
MutableStateFlow
<
Map
<
Long
,
Account
>
>
Functions
delete
Link copied to clipboard
abstract
suspend
fun
delete
(
key
:
Long
)
delete
All
Link copied to clipboard
abstract
suspend
fun
deleteAll
(
)
get
Link copied to clipboard
abstract
suspend
fun
get
(
key
:
Long
)
:
Account
?
save
Link copied to clipboard
abstract
suspend
fun
save
(
key
:
Long
,
value
:
Account
)
serialize
Key
Link copied to clipboard
open
override
fun
serializeKey
(
key
:
Long
)
:
String