Function endbasic_std::exec::add_all

source ·
pub fn add_all(machine: &mut Machine, sleep_fn: Option<SleepFn>)
Expand description

Instantiates all REPL commands and adds them to the machine.

sleep_fn is an async function that implements a pause given a Duration. If not provided, uses the std::thread::sleep function.