Mutable Reactive Set
A mutable set that also exposes a StateFlow via asStateFlow, allowing for reactive observation of its contents.
It delegates MutableSet functionality to an internal set and emits an immutable Set snapshot to its collectors whenever the set is modified.
Parameters
The type of elements contained in the set.
Functions
Returns the collection's content as a StateFlow of an immutable collection IC type.
Executes a block of modifications on the underlying mutable collection and notifies observers only once after the block has completed.
Executes a suspending block of modifications on the underlying mutable collection and notifies observers only once after the block has completed.
Returns a new MutableReactiveList filled with all elements of this collection.
Returns a new MutableReactiveSet filled with all elements of this collection.