Trait BatchHandler
messagebus
pub trait BatchHandler<M: Message>: Send + Sync { pub fn handle(&self, msg: Vec<M>, bus: &Bus) -> Result<()>; pub fn sync(&self, _bus: &Bus) -> Result<()> { ... } }
pub fn handle(&self, msg: Vec<M>, bus: &Bus) -> Result<()>
pub fn sync(&self, _bus: &Bus) -> Result<()>