Deprecated: The each() function is deprecated. This message will be suppressed on further calls in /home/zhenxiangba/zhenxiangba.com/public_html/phproxy-improved-master/index.php on line 456
cooperative in datafusion::physical_plan::coop - Rust
[go: Go Back, main page]

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.