register Apply Observer
Register an apply listener that is called back when snapshots are applied to the global state.
Return
a lambda that, when called, unregisters observer.
Register an apply listener that is called back when snapshots are applied to the global state.
a lambda that, when called, unregisters observer.