Function crossbeam_channel::select::run_select

source ยท
fn run_select(
    handles: &mut [(&dyn SelectHandle, usize, *const u8)],
    timeout: Timeout,
    is_biased: bool,
) -> Option<(Token, usize, *const u8)>
Expand description

Runs until one of the operations is selected, potentially blocking the current thread.

Successful receive operations will have to be followed up by channel::read() and successful send operations by channel::write().