pub trait EventEmitter {
type Event;
type Error: Debug;
// Required method
fn emit_event<'life0, 'async_trait>(
&'life0 mut self,
completed_events: Vec<Self::Event>,
) -> Pin<Box<dyn Future<Output = Result<(), Self::Error>> + Send + 'async_trait>>
where Self: 'async_trait,
'life0: 'async_trait;
}