sync_try_join

Macro sync_try_join 

Source
macro_rules! sync_try_join {
    ($($fut:expr),+ $(,)?) => { ... };
}
Expand description

Macro that try_joins futures and ensures all have completed before any values are dropped.

Uses a barrier synchronization pattern to make sure all futures are completed before returning. This is useful when the futures are expected to have side effects that need to be synchronized.