Sync / API
foldkit-sync/metakit
A document's laws and transitions written as metakit expressions, for
Sync.forApplication(App).make. make takes the plain values these build,
so a page that does not use metakit carries none of it.
Namespaces
SyncDeclared | Laws and transitions of a Sync document declared as metakit expressions. Named apart from foldkit-form/metakit's Declared, so one file can import both. |
Functions
convergence | Read machine's durable Messages, given as its arms (machine.transitions.Add): for each overlapping pair whether a rebase can change what a replica showed,… |
fromMachine | Extracts the durable subset of an application's metakit Machine for Sync.forApplication(App).make({ transitions }), throwing at definition for a tag whose… |
settleConvergence | What convergence owes, discharged with the walks given, as evidence for Temporal.report. A pair that never rebases is a decision checked by its walk,… |
Interfaces
Convergence | |
PairWalk | What a walk of a pair found: how it ran, and whether the two commit orders left different documents. |
RebasePair | A pair of durable Messages whose footprints overlap, and whether a rebase can change what a replica showed. |
Redelivery | What a durable Message delivered twice in a row to one replica does. |
SettleOptions | |