The next documentation seems to suggest that it only awaits one of the child tasks, not all of them in parallel. I guess an empty for loop iterating over any AsyncSequence, which uses the next() method, achieves the same thing with a little more boilerplate. After the for loop completes, all the tasks are guaranteed to have completed. In many cases, that's probably enough.
Topic:
Community
SubTopic:
Apple Developers
Tags: