Skip to main content

recorded_snapshot

Function recorded_snapshot 

Source
pub(super) fn recorded_snapshot(
    snapshot: Option<ShortStateHash>,
    resolved: bool,
) -> Option<ShortStateHash>
Expand description

The snapshot a delivery records, given whether it resolved every selected key.

A key whose listing or current event could not be read may hide an event that was due, so no snapshot vouches for what the client holds: the delivery records zero, and the next delta compares against the cursor and resends outliers.