Macro futures_micro::zip [−][src]
Zips arbitrarily many futures, waiting for all to complete.
Examples
use futures_micro::zip; let a = async { 1 }; let b = async { 2 }; assert_eq!(zip!(a, b).await, (1, 2));
Zips arbitrarily many futures, waiting for all to complete.
use futures_micro::zip; let a = async { 1 }; let b = async { 2 }; assert_eq!(zip!(a, b).await, (1, 2));