Skip to main content

shared_range_stream

Function shared_range_stream 

Source
fn shared_range_stream<F, Fut>(
    receiver: Receiver<Option<Arc<RangeCacheDelivery>>>,
    build: F,
) -> BoxedRecordBatchStream
where F: FnOnce() -> Fut + Send + 'static, Fut: Future<Output = Result<(BoxedRecordBatchStream, usize)>> + Send + 'static,
Expand description

Waiting is lazy, but the producer is independent of every consumer.