pub trait ConcurrentDispatchEvent<Ctx>where
Ctx: 'static + Send,{
type Error: 'static + Send;
type Future: 'static + Send + Future<Output = Result<StreamEvents, Self::Error>>;
// Required method
fn concurrent_dispatch_event(
&self,
ev: Event,
ctx: Ctx,
) -> Result<Self::Future, (Event, Ctx)>;
}