manually in your test after performing snapshot writes to confirm.
Adam Powell
04/18/2021, 3:51 PM
this is decoupled from the runtime itself because it's affected by other environmental expectations. For Compose UI there's a main thread and an event loop, and the intent is to batch snapshot state changes within single messages processed on that event loop. So this simply posts it to handle as part of a later event loop message on that main thread.
s
SrSouza
04/18/2021, 4:41 PM
Thank you, was my mistake on
GlobalSnapshotManager
, I was not registering the GlobalWriterObserver correctly