buildObservableSet

inline fun <T> buildObservableSet(builderAction: MutableSet<T>.() -> Unit): Set<T>

Builds a new read-only ObservableSet by populating a MutableSet using the given builderAction and returning a read-only set with the same elements.

See also