fun subscribe(observer: (S) -> Unit): () -> Unit
Overrides ObservableState.subscribe
Subscribe for the state change notifications.