Trait nakadion::publisher::PublishesEvents [−][src]
pub trait PublishesEvents {
fn publish_events<'a, E: Serialize + Sync, T: Into<FlowId>>(
&'a self,
event_type: &'a EventTypeName,
events: &'a [E],
flow_id: T
) -> PublishFuture<'a>;
}
Expand description
Publish non serialized events.
This trait is implemented for all types which implement PublishesSerializedEvents
.