kvision / pl.treksoft.kvision.redux / ReduxStore / subscribe

subscribe

(js) fun subscribe(observer: (S) -> Unit): () -> Unit

Subscribe for the state change notifications.