Skip to main content

Module bundle

Module bundle 

Source
Expand description

composite.Bundle - pack N typed slot values into one CompositeValue.

Variable-arity input convention: the DSL recorder names the i’th payload child_{i} (positional naming because input ordering carries the semantics, not the names). The op clones each input via SlotValue::clone_boxed into the envelope, preserving the concrete carrier type for in-process Unbundle. Wire-boundary encoding is deferred to CompositeValue::to_wire_bytes.

Constants§

DOMAIN
(domain, op_type) registration key. Shared with TYPE_COMPOSITE’s canonical denotation root.
OP_TYPE
Op type name.
PORT_BUNDLE
Output port carrying the assembled CompositeValue.

Functions§

invoke
Invoke fn - clone each child_{i} input into the envelope via SlotValue::clone_boxed and emit a single CompositeValue on the bundle output port. Bind-site port ordering survives because the DSL recorder stamps inputs in positional order; the op preserves that order in the resulting Vec.