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