[−][src]Function dendrite::axon_utils::emit
pub fn emit<P: VecU8Message + Send + Clone>(
holder: &mut EmitApplicableEventsAndResponse<P>,
type_name: &str,
event: Box<dyn ApplicableTo<P>>
) -> Result<()>
Adds an event that can be applied to the command projection to be emitted to the result of a command handler.