Skip to main content

CommandFn

Type Alias CommandFn 

Source
pub type CommandFn = Arc<dyn Fn(AppContext, Vec<String>) -> BoxFuture<'static, Result<(), BoxError>> + Send + Sync>;
Expand description

The function behind a CommandSpec.

Aliased Typeยง

pub struct CommandFn { /* private fields */ }