registerApplyObserver

fun registerApplyObserver(observer: SnapshotApplyObserver): () -> Unit

Register an apply listener that is called back when snapshots are applied to the global state.

Return

a lambda that, when called, unregisters observer.