stream_to_stdout

Function stream_to_stdout 

Source
pub async fn stream_to_stdout<R>(
    stream: &mut Pin<Box<dyn Stream<Item = Result<MultiTurnStreamItem<R>, StreamingError>> + Send>>,
) -> Result<FinalResponse, Error>
Expand description

helper function to stream a completion selfuest to stdout