pub trait NotificationProcessor<M>: Send + Syncwhere
M: RexMessage,{
// Required methods
fn init(
&mut self,
join_set: &mut JoinSet<()>,
) -> UnboundedSender<Notification<M>>;
fn get_topics(&self) -> &[M::Topic];
}