Skip to main content

handler_execution_order

Function handler_execution_order 

Source
pub fn handler_execution_order(
    groups: &HashMap<String, Vec<RuleMatch>>,
    registry: &HashMap<String, Box<dyn Handler + '_>>,
) -> Vec<String>
Expand description

Returns handler names in execution order.

Order is driven by each handler’s ExecutionPhase (see crate::handlers::ExecutionPhase for the full phase list and why each slot is where it is). The phase enum’s declaration order is the execution order — ProvisionSetupPathExportShellInitLink.

Handler names not present in the registry are placed last in alphabetical order (they get ignored by the pipeline anyway).