trixnity-client
3.10.3
common
trixnity-client
/
net.folivo.trixnity.client.store.cache
/
ObservableSet
Observable
Set
class
ObservableSet
<
T
>
(
coroutineScope
:
CoroutineScope
,
initialValue
:
Set
<
T
>
=
setOf()
)
Members
Constructors
Observable
Set
Link copied to clipboard
constructor
(
coroutineScope
:
CoroutineScope
,
initialValue
:
Set
<
T
>
=
setOf()
)
Properties
values
Link copied to clipboard
val
values
:
SharedFlow
<
Set
<
T
>
>
Functions
add
Link copied to clipboard
suspend
fun
add
(
element
:
T
)
:
Boolean
add
All
Link copied to clipboard
suspend
fun
addAll
(
elements
:
Collection
<
T
>
)
:
Boolean
remove
Link copied to clipboard
suspend
fun
remove
(
element
:
T
)
:
Boolean
size
Link copied to clipboard
suspend
fun
size
(
)
:
Int