Function dendrite_auth::dendrite::axon_utils::emit
source · pub fn emit<P>(
holder: &mut EmitApplicableEventsAndResponse<P>,
type_name: &str,
event: Box<dyn ApplicableTo<P, Event>>
) -> Result<(), Error>
Expand description
Adds an event that can be applied to the command projection to be emitted to the result of a command handler.