macro_rules! action_sends {
($emit1:expr, $emit2:expr $(,)?) => { ... };
($emit1:expr, $emit2:expr, $emit3:expr $(,)?) => { ... };
($emit1:expr, $emit2:expr, $emit3:expr, $emit4:expr $(,)?) => { ... };
($emit1:expr, $emit2:expr, $emit3:expr, $emit4:expr, $emit5:expr $(,)?) => { ... };
($emit1:expr, $emit2:expr, $emit3:expr, $emit4:expr, $emit5:expr, $emit6:expr $(,)?) => { ... };
($_:tt) => { ... };
}Expand description
A macro for an action sending several messages.
Usage is action_sends!(emit, emit, ...) to create an action that emits multiple messages.