Trait nakadion::publisher::PublishesSerializedEvents [−][src]
pub trait PublishesSerializedEvents {
fn publish_serialized_events<'a>(
&'a self,
event_type: &'a EventTypeName,
events: &[Bytes],
flow_id: FlowId
) -> PublishFuture<'a>;
}
Expand description
Publishes events that have been serialized before
This trait can be made a trait object
Required methods
fn publish_serialized_events<'a>(
&'a self,
event_type: &'a EventTypeName,
events: &[Bytes],
flow_id: FlowId
) -> PublishFuture<'a>
fn publish_serialized_events<'a>(
&'a self,
event_type: &'a EventTypeName,
events: &[Bytes],
flow_id: FlowId
) -> PublishFuture<'a>
Publishes the serialized events.