pub type NativeFn<P> = Arc<dyn Fn(&mut StepCtx<'_, P>, Vec<Value>) -> Result<Value, Diagnostic> + Send + Sync>;Expand description
Stateful/IO function with full step context (fs, cwd, envs, vars, pipes).
Aliased Typeยง
pub struct NativeFn<P> { /* private fields */ }