Skip to main content

EventSink

Trait EventSink 

Source
pub trait EventSink: Send + Sync {
    type Error;

    // Required method
    fn emit(&self, event: &OperationEventEnvelope) -> Result<(), Self::Error>;
}
Expand description

Sink for operation lifecycle events, implemented by embedded or remote adapters.

Required Associated Types§

Source

type Error

Sink-specific delivery error.

Required Methods§

Source

fn emit(&self, event: &OperationEventEnvelope) -> Result<(), Self::Error>

Delivers one idempotent event envelope.

Implementors§