Type Alias repl_rs::Callback

source ·
pub type Callback<Context, Error> = fn(_: HashMap<String, Value>, _: &mut Context) -> Result<Option<String>, Error>;
Expand description

Command callback function signature