Function

mutableStateSetOf

Create a instance of [MutableSet] that is observable and can be snapshot.

Common
@StateFactoryMarker public fun <T> mutableStateSetOf(): SnapshotStateSet<T>

Create a instance of MutableSet that is observable and can be snapshot.

The returned set iteration order is in the order the items were inserted into the set.

mutableStateSetOf

Common
@StateFactoryMarker
public fun <T> mutableStateSetOf(vararg elements: T): SnapshotStateSet<T>

Create an instance of MutableSet that is observable and can be snapshot.

The returned set iteration order is in the order the items were inserted into the set.