Skip to main content

run_steps

Function run_steps 

Source
fn run_steps(
    state: &AppState,
    owner_id: &str,
    dir: &Path,
    steps: &[Step],
    source: &str,
    detail_of: &dyn Fn(&str) -> String,
    after_op: impl FnMut(&str) -> Result<(), String>,
) -> Result<(), String>
Expand description

Run steps, one operation’s steps after another’s. after_op is told as each operation’s steps finish.