crossbeam_channel

Macro select_biased

Source
macro_rules! select_biased {
    ($($tokens:tt)*) => { ... };
}
Expand description

Selects from a set of channel operations.

This macro allows you to define a list of channel operations, wait until any one of them becomes ready, and finally execute it. If multiple operations are ready at the same time, the operation nearest to the front of the list is always selected (i.e. the biased selection). Use select! for the unbiased selection.

Otherwise, this macro’s functionality is identical to select!. Refer to it for the syntax.