EventPublisher

Trait EventPublisher 

Source
pub trait EventPublisher:
    Send
    + Sync
    + 'static {
    // Required method
    fn publish_event(&self, event: TenantEventMessage);
}
Expand description

Abstraction providing the ability to publish an event

Required Methods§

Source

fn publish_event(&self, event: TenantEventMessage)

Publish an event with the event publisher

Implementors§