Surface / API

foldkit-surface/writes

foldkit-surface/writes: what each Message is declared to write, joined to what each drawing reads, so a Message draws again only the Surfaces it can have changed.

The writes are a metakit Machine's: one Transition per Message tag, each naming the Model paths it sets. Graph.analyze joins them to a Surface's projection, once, when the view is defined. A subpath, so an application that declares no writes carries no metakit.

Namespaces

WritesThe writes of an application's Messages, as Writes.of makes them from a Machine.
WritesCheck

Interfaces

OutsideWriteA Message outside a closed Surface's messages changed what the Surface projects.
OwnershipContractA contract (such as a Sync document or Remote store) that owns Model paths.
OwnerWriteA Message outside an owning contract's messages changed a Model path the contract owns.
RegionFactsWhat Writes.of worked out for one view it keeps the drawing of.
UndeclaredWriteA Message changed Model paths its transition does not declare it writes.
WritesContractA contract (such as a Remote domain or Sync document) whose Messages write its owns paths.
WritesOptionsAdditional writers contributed alongside a Machine to Writes.of.

Types

WriteDiagnosticEvery diagnostic WritesCheck.verify reports.