Skip to main content

CommandHandler

Type Alias CommandHandler 

Source
pub type CommandHandler = Box<dyn Fn(Vec<String>) -> Pin<Box<dyn Future<Output = Result<()>> + Send>> + Send + Sync>;
Expand description

Type alias for the async handler function used by plugin commands.

Aliased Type§

pub struct CommandHandler(/* private fields */);