Skip to main content

run_streaming

Function run_streaming 

Source
pub fn run_streaming<F>(
    buffer: usize,
    fut: F,
) -> (StreamReceiver, JoinHandle<F::Output>)
where F: Future + Send + 'static, F::Output: Send + 'static,
Expand description

Run fut with an ambient stream scope active; the primitive spawn_task/spawn_graph use.