Trait Executor
sealrs::executors::executor
pub trait Executor { fn execute(&mut self, f: ExecutorTask, options: Option<Box<dyn Any>>); fn stop(&mut self); }
fn execute(&mut self, f: ExecutorTask, options: Option<Box<dyn Any>>)
fn stop(&mut self)
impl Executor for DefaultDispatcher
impl Executor for PinnedDispatcher
impl Executor for WrappedDispatcher
impl Executor for MyDispatcher
impl Executor for ThreadPinnedExecutor
Plans task for execution. This method must be called only after the executor is running. Otherwise it will cause to panic!
Stops executor threads