pub fn emit_event<B>(event: B::Event) -> EmitEvent<B>where
    B: EventSourcedBehavior + Send + Sync + 'static,
Expand description

An effect to emit an event upon having successfully handed it off to be persisted.