Macro mpstthree::broadcast_cancel[][src]

macro_rules! broadcast_cancel {
    ($session : expr, $n_sessions : literal) => { ... };
}
This is supported on crate feature macros_multiple only.
Expand description

Indefinitely loops to check all sessions if there is a Cancel signal and broadcast if it present. Will also close correctly if a Stop signal is received.

Arguments

  • The session that will be used
  • The number of participants (all together)

This macro is available only if MultiCrusty is built with the "macros_multiple" feature.