Skip to main content

dispatch_emit

Function dispatch_emit 

Source
pub async fn dispatch_emit(
    ir: &IREmit,
    ctx: &RunContext,
) -> Result<(), DispatchError>
Expand description

Execute an IREmit step against the run context.

Resolves value_ref per the dotted-access rules, then routes to bus.emit either as scalar (TypedPayload::Scalar) or as mobility (TypedPayload::Handle) per the IR’s value_is_channel flag.