Skip to main content

EventStream

Trait EventStream 

Source
pub trait EventStream: Iterator<Item = Result<TranscriptEvent>> + Send { }
Expand description

Stream of transcription events. A blanket impl is provided for any iterator producing Result<TranscriptEvent> that is also Send.

Sync Iterator shape for the batch backend in #801; the async Stream variant lands alongside streaming work in #806.

Implementors§

Source§

impl<T> EventStream for T
where T: Iterator<Item = Result<TranscriptEvent>> + Send,