Skip to main content

progress_channel

Function progress_channel 

Source
pub fn progress_channel(
    buffer_size: usize,
) -> (Sender<ProgressUpdate>, Receiver<ProgressUpdate>)
Expand description

Create a progress channel for streaming operations.

Returns (sender, receiver) where:

  • sender: Pass to ChannelProgressReporter::new() for use in blocking operations
  • receiver: Poll in async context to forward updates to StreamPublisher