ResponseStream

Type Alias ResponseStream 

Source
pub type ResponseStream = Pin<Box<dyn Stream<Item = Result<ResponseStreamEvent, OpenAIError>> + Send>>;
Available on crate features response-types and _api only.
Expand description

Stream of response events

Aliased Typeยง

pub struct ResponseStream { /* private fields */ }