Skip to main content

ChatStream

Type Alias ChatStream 

Source
pub type ChatStream = Pin<Box<dyn Stream<Item = Result<ChatChunk, BackendError>> + Send>>;
Expand description

Pinned, boxed stream alias — the concrete return type of Backend::stream. Adopters consume via futures::StreamExt.

Aliased Type§

pub struct ChatStream { /* private fields */ }