cooperative

Function cooperative 

Source
pub fn cooperative<T>(stream: T) -> CooperativeStream<T>
where T: RecordBatchStream + Unpin + Send + 'static,
Expand description

Creates a CooperativeStream wrapper around the given RecordBatchStream. This wrapper collaborates with the Tokio cooperative scheduler by consuming a unit of scheduling budget for each returned record batch.