Surface / API

foldkit-surface/declared

foldkit-surface/declared: derive an application's Foldkit update, exhaustive emitted-record-to-Command dispatch, and Writes path-skipping from one metakit Machine. Hand-written update arms coexist through fallback so an application can move one Message at a time.

Namespaces

DeclaredThe derived application layer returned by Declared.of.

Interfaces

MessageEdgeA Message-to-Message edge derived from a transition's emitted record and its Command's sends.

Types

CommandTableExhaustive table mapping each emitted record tag to the Commands it runs.
DeclaredConfigConfiguration for Declared.of.
SendsMapOptional map from each emitted record tag to the Message tags its Command may send back.
SuppliedStepOne step's Message with the values supply made for it, as record receives it and replay takes it.
SupplyTableFor each transition that declares supplied values (a time, a new id), how to make them for one step of its Message. Each runs once per step, before the…