subscribe

open override fun subscribe(observer: (List<<Error class: unknown class>>?) -> Unit): () -> Unit

Subscribe for the state change notifications. Calls the observer with the current state.