Skip to main content

collect_stream

Function collect_stream 

Source
pub async fn collect_stream(stream: StreamedTurn) -> Result<Vec<ThreadEvent>>
Expand description

Collect all events from a StreamedTurn into a Vec<ThreadEvent>.