pub trait Projection: Send + Sync {
type Event: Event;
// Required method
fn apply(&mut self, event: &Self::Event);
}Available on crate feature
cqrs only.Expand description
Trait for Projections - read models built from events