-
Notifications
You must be signed in to change notification settings - Fork 156
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Equivalent of tokio::task::JoinSet
#308
Comments
Is there something
This can be done now with a |
@notgull A |
@yoshuawuyts This is basically |
Yes that's right! - Rather than calling Conceptually it's very similar to Footnotes
|
I'd love to have an equivalent of
tokio::task::JoinSet
: a type that provides aspawn
method, saves the join handle, and provides an operation to wait for the next task in the set to complete.In addition to the methods provided by
JoinSet
, it'd also be nice to have an asynchronous spawn method that takes a concurrency limit, and if there are more than that number of items in the set, waits for the next task to complete before spawning another item.The text was updated successfully, but these errors were encountered: