pub type TokenStream = BoxStream<'static, Result<String, Error>>;Expand description
Opaque stream of text tokens from a streaming LLM completion.
Each item is either a text token chunk (Ok(String)) or a provider error
(Err(Error)). Callers consume via futures::StreamExt::next.
reqwest-eventsource is NOT re-exported — this type alias hides the
underlying stream implementation (D-09).
Aliased Type§
pub struct TokenStream { /* private fields */ }