Trait async_dispatcher::Dispatcher
source · pub trait Dispatcher: 'static + Send + Sync {
// Required methods
fn dispatch(&self, runnable: Runnable);
fn dispatch_after(&self, duration: Duration, runnable: Runnable);
}
pub trait Dispatcher: 'static + Send + Sync {
// Required methods
fn dispatch(&self, runnable: Runnable);
fn dispatch_after(&self, duration: Duration, runnable: Runnable);
}