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