kvision / pl.treksoft.kvision.state / ObservableSet

ObservableSet

(js) interface ObservableSet<T> : MutableSet<T>, ObservableState<Set<T>>

Observable set interface.

Properties

(js)

onUpdate

abstract val onUpdate: MutableCollection<(MutableSet<T>) -> Unit>

Inheritors

(js)

ObservableSetWrapper

Simple observable set implementation.

class ObservableSetWrapper<T> : MutableSet<T>, ObservableSet<T>, ObservableState<Set<T>>