aboutsummaryrefslogtreecommitdiff
path: root/src/ext/framework/command.rs
blob: 31b2520b594d32e1c915930e178de23b0905283d (plain) (blame)
1
2
3
4
5
6
7
use std::sync::Arc;
use ::client::Context;
use ::model::Message;

pub type Command = Fn(Context, Message) + Send + Sync;
#[doc(hidden)]
pub type InternalCommand = Arc<Command>;