pub fn add_scripting(machine: &mut Machine, sleep_fn: Option<SleepFn>)Expand description
Instantiates all REPL commands for the scripting machine 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.