Learn / Glossary

foldkit-bundle: placing child machines

TermWhat it is
BundleA child machine's parts in one value: Model, Messages, init, update, subscriptions, resources, view. The package
LinkWhere a Bundle lives: a lens onto the child Model and the parent Message variant it travels in.
PlacementA Bundle plus a Link: the same parts, lifted into the parent. Still an ordinary Submodel.
WiringAn integration's contribution to a page, as data: which Messages it routes, its Subscriptions, its startup Command, its contract. Data.wiring(…) is Remote's. Wiring
Page.assembleJoins placements and wirings into one list, from which update, init, Subscriptions and the Module are derived.