Skip to content
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

future: provide try_join! macro #2169

Merged
merged 3 commits into from
Jan 25, 2020
Merged

future: provide try_join! macro #2169

merged 3 commits into from
Jan 25, 2020

Conversation

carllerche
Copy link
Member

Provides a try_join! macro that supports concurrently driving multiple
Result futures on the same task and await the completion of all the
futures as Ok or the first Err future.

Refs #2158, #2152

Provides a `try_join!` macro that supports concurrently driving multiple
`Result` futures on the same task and await the completion of all the
futures as `Ok` or the **first** `Err` future.
tokio/src/macros/try_join.rs Outdated Show resolved Hide resolved
Co-Authored-By: Lucio Franco <luciofranco14@gmail.com>
@carllerche carllerche merged commit 5bf06f2 into master Jan 25, 2020
@vorot93 vorot93 deleted the try-join-macro branch January 25, 2020 11:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants