Macros
- joinExperimentalPolls multiple futures simultaneously, returning a tuple of all results once complete.
- To be able to name the i-th future in the tuple (say we want the .4-th), the following trick will be used:
let (_, _, _, _, it, ..) = tuple;
In order to do that, we need to generate ai
-long repetition of_
, for each i-th fut. Hence the recursive muncher approach.
Enums
- MaybeDoneExperimentalFuture used by
join!
that stores it’s output to be later taken and doesn’t panic when polled after ready.