pub fn make_cooperative(
stream: SendableRecordBatchStream,
) -> SendableRecordBatchStreamExpand description
Wraps a SendableRecordBatchStream inside a CooperativeStream to enable cooperative multitasking.
Since SendableRecordBatchStream is a dyn RecordBatchStream this requires the use of dynamic
method dispatch.
When the stream type is statically known, consider use the generic cooperative function
to allow static method dispatch.