Skip to main content

live_snapshots

Function live_snapshots 

Source
fn live_snapshots(
    view: &CourseView,
    writes: &[StagedEntity],
    live_pages: HashMap<Uuid, PageSnapshot>,
) -> Result<HashMap<EntityKey, Option<EntitySnapshot>>, ToolError>
Expand description

The live state of each written entity the user has no staged changes to, as the call read it. Pages were read twice, as blocks with the view and in full when their snapshots were built; a page that changed in between is a stale read.