Macro vex_rt::select_any

source ·
macro_rules! select_any {
    ($event:expr $(; $sub:pat = $dep:expr)* $(,)?) => { ... };
    ($event:expr $(; $sub1:pat = $dep1:expr)*, $($rest:expr $(; $sub:pat = $dep:expr)*),+ $(,)?) => { ... };
}
Expand description

Generates a future event (i.e. one which implements crate::rtos::Selectable) from a set of events which all have the same result type, by repeated application of crate::rtos::select_either.