Skip to main content

EventStream

Type Alias EventStream 

Source
pub type EventStream = Pin<Box<dyn Stream<Item = Result<StreamEvent>> + Send>>;
Expand description

A stream of content, optional reasoning, and one final finish event.

Aliased Typeยง

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