Skip to main content

invoke_lifecycle_phase

Function invoke_lifecycle_phase 

Source
pub fn invoke_lifecycle_phase(
    _node: &NodeProto,
    _inputs: &[(&str, &dyn SlotValue)],
    _ctx: &mut RuntimeResourceRef<'_>,
) -> Result<DispatchResult, OpError>
Expand description

LifecyclePhase(phase: string) → Trigger. Phase-gated firing is enforced by the engine: only ops enrolled in Engine.lifecycle_table[phase] are pushed onto the frontier when fire_lifecycle(phase) runs, so this body only needs to emit the trigger when invoked. Node is the named consumer of Engine::register_lifecycle_op, parsing each node’s phase attribute at install time.