macro_rules! sync_join {
($($fut:expr),+ $(,)?) => { ... };
}Expand description
Macro that 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.