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

Implement StreamExt::try_next #2005

Merged
merged 2 commits into from
Dec 21, 2019
Merged

Implement StreamExt::try_next #2005

merged 2 commits into from
Dec 21, 2019

Conversation

vorot93
Copy link
Member

@vorot93 vorot93 commented Dec 21, 2019

This PR adds StreamExt::try_next combinator that allows for easy usage of try operator while iterating upon fallible streams. The key difference between futures-rs implementation and this one is that we are going to have this method as a part of the main stream extensions, not separate TryStreamExt.

Copy link
Member

@carllerche carllerche left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM 👍

@carllerche carllerche merged commit 3dcd76a into tokio-rs:master Dec 21, 2019
@vorot93 vorot93 deleted the try-next branch December 21, 2019 05:44
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.

2 participants