pub type RunFn = Rc<dyn Fn(&AppHandle, &Value) -> Result<Value, String>>;
A run-hook: does the step instead of the default.
pub struct RunFn { /* private fields */ }