Bundle / foldkit-bundle

The placed parts

Each placement exposes its parts in parent terms:

PartTypeBuilt from
placed.update(parent, message)Option<Update.Return>: None when the Message is not this placement'sUpdate.foldChildStep
placed.initUpdate.Step: writes the child's initial Model and lifts its CommandsUpdate.foldChildInit
placed.subscriptionsa Subscriptions record keyed Name@path/keySubscription.lift with a gate
placed.resourcesa Managed Resources record keyed Name@path/keyManagedResource.lift
placed.view(parent, h, viewInputs?)Html; nothing while the child is absenth.submodel
placed.viewIn(slot)the same view under another slot id, to render one placement in two positionsh.submodel
placed.helpers.name(...input)Update.Step for a programmatic entry pointUpdate.foldChildStep

Keys are prefixed with the placement, so two placements of one bundle never collide in Subscription.aggregate.