pub fn cooperative<T>(stream: T) -> CooperativeStream<T>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.