Implement a join_all
convenience function
#7034
Labels
A-tokio
Area: The main tokio crate
C-feature-request
Category: A feature request.
M-task
Module: tokio/task
Is your feature request related to a problem? Please describe.
In issue #6664, the convenience method
join_all
was introduced for theJoinSet
. To enhance this further, it would be nice to implement ajoin_all
function that accepts any type implementingIntoIterator
and containing futures. This would improve usability and convenience. This would be similar to thejoin_all
function from thefutures
crate.Describe the solution you'd like
I came up with the following:
The question would be, where to put this function. Perhaps to
tokio::task
?The text was updated successfully, but these errors were encountered: