pub trait SubscriberFunc<E: Event>: Send + Sync {
// Required method
fn call<'life0, 'async_trait>(
&'life0 self,
event: Arc<E>,
data: Arc<RwLock<E::Data>>,
) -> Pin<Box<dyn Future<Output = EventResult> + Send + 'async_trait>>
where Self: 'async_trait,
'life0: 'async_trait;
}