WhileActive
Register a global snapshot write observer and send apply notifications when new writes occur using a coroutine launched on the same scope as the composition. This coroutine will be canceled and observer unregistered when that scope is canceled.