Skip to main content

run

Function run 

Source
pub fn run(
    engine: &Engine<'_>,
    task: &TaskInfo,
    caller: &BTreeMap<String, String>,
    print: &dyn PrintSink,
    events: &dyn StepEvents,
) -> Result<RunReport, StoreError>
Expand description

Run task, made with TaskInfo::for_run, once with engine, as kizz run does; caller is the caller environment, the lines its program prints go to print, and events follows each step as it starts or comes from the cache.

ยงErrors

A StoreError when a record cannot be read or written.