Skip to main content

channel

Function channel 

Source
pub fn channel(
    capacity: usize,
    when_full: WhenFull,
    component_id: String,
) -> (BufferSender, BufferReceiver)
Expand description

Creates a new memory buffer with the given capacity (in batches).