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