publish_snapshot

Function publish_snapshot 

Source
pub fn publish_snapshot(snapshot: DevDomainSnapshot)
Expand description

Hand a snapshot to the sync loop, publishing the mirrors a reader can see synchronously on the way past.

Everything a display reads back after a settings change has to be true by the time this returns. The sync loop runs in its own task and does not, so a mirror updated where the snapshot is consumed is a value that lags the publish by however long that task takes to be scheduled — and a panel redrawing on the publish would draw the old one.