interface ObservableState<S>
An interface of observable state.
(js)
getState |
Get current state. abstract fun getState(): S |
(js)
subscribe |
Subscribe for the state change notifications. abstract fun subscribe(observer: (S) -> Unit): () -> Unit |
(js)
ObservableList |
Observable list interface. interface ObservableList<T> : MutableList<T>, ObservableState<List<T>> |
(js)
ObservableListWrapper |
Simple observable list implementation. class ObservableListWrapper<T> : MutableList<T>, ObservableList<T>, ObservableState<List<T>> |
(js)
ObservableSet |
Observable set interface. interface ObservableSet<T> : MutableSet<T>, ObservableState<Set<T>> |
(js)
ObservableSetWrapper |
Simple observable set implementation. class ObservableSetWrapper<T> : MutableSet<T>, ObservableSet<T>, ObservableState<Set<T>> |
(js)
ReduxStore |
A class implementing redux pattern backed by the Redux Kotlin library. class ReduxStore<S : Any, A : RAction> : ObservableState<S> |