Skip to main content

run_steps

Function run_steps 

Source
pub async fn run_steps(
    cx: &Context,
    steps: &[Step],
    on_line: &mut (dyn FnMut(&str) + Send),
) -> Result<(), StepFailed>
Expand description

Runs steps in order, each without a Note announced as command_line first (a caller that shows notes says them itself); the first that fails stops them.

§Errors

The first step’s failure.