Skip to main content

Module reader

Module reader 

Source
Expand description

Keeping a resource’s state current as its document changes, reading only what changed and what views look at.

Structs§

Demand
The parts of a large resource that views are looking at, in terms any resource can interpret: positions in its primary order (the paragraphs of a document, the rows of a sheet) and keyed parts (a comment thread, a clip). See Resource::load.
Reader
The current state of one resource over one live document, kept up to date incrementally: each sync applies only what changed since the last one (Resource::refresh), and demand reads the parts views look at (Resource::load).

Functions§

heads_of
The version doc holds, when it has no uncommitted edits.