Skip to main content

collect_stream

Function collect_stream 

Source
pub async fn collect_stream(stream: ChatStream) -> Vec<StreamEvent>
Expand description

Collect stream events, panicking on any error. Use collect_stream_results when testing error scenarios.