kvision / pl.treksoft.kvision.state / ObservableSetWrapper / subscribe

subscribe

(js) fun subscribe(observer: (Set<T>) -> Unit): () -> Unit

Subscribe for the state change notifications.