Subject: | Consider `await_all` to neaten up Future->needs_all |
Now that F-AA 0.47 supports `await` at toplevel, it's rare to really see the underlying Future-related machinery most of the time, when dealing with async/await syntax. One place it still becomes apparent, is when waiting on multiple concurrent things; such as the commonplace
my ( $one, $two, $three ) = await Future->needs_all(
ONE(), TWO(), THREE()
);
Perhaps this too could be neatened up by the addition of a new helper `await_all` keyword which does the same thing:
my ( $one, $two, $three ) = await_all ONE(), TWO(), THREE();
--
Paul Evans