Trait cqrs_es2::QueryProcessor [−][src]
pub trait QueryProcessor<A: Aggregate> { fn dispatch(&mut self, aggregate_id: &str, events: &[EventEnvelope<A>]); }
Expand description
Each CQRS platform should have one or more QueryProcessor
s where
it will distribute committed events, it is the responsibility of
the QueryProcessor
to update any interested queries.