Skip to main content

EventStream

Type Alias EventStream 

Source
pub type EventStream = Pin<Box<dyn Stream<Item = PersistenceResult<StoredEvent>> + Send + 'static>>;
Expand description

Owned asynchronous stream returned by journal replay.

Individual storage/read failures are emitted as stream items. The stream is Send and owns its replay state, so it does not borrow the journal.

Aliased Typeยง

#[repr(transparent)]
pub struct EventStream { /* private fields */ }