Will take a look, thank you! I know in molecule it...
# squarelibraries
t
Will take a look, thank you! I know in molecule it uses the GlobalWriteObserver but I haven't wrapped my head around it yet
Copy code
val snapshotHandle =
                Snapshot.registerGlobalWriteObserver {
                    if (!applyScheduled) {
                        applyScheduled = true
                        launch {
                            applyScheduled = false
                            Snapshot.sendApplyNotifications()
                        }
                    }
                }