open fun subscribe(observer: (String?) -> Unit): () -> Unit
Subscribe for the state change notifications.