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

Implemented StreamExt::try_fold #344

Merged
2 commits merged into from Oct 16, 2019
Merged

Implemented StreamExt::try_fold #344

2 commits merged into from Oct 16, 2019

Conversation

Wassasin
Copy link
Contributor

See #129. The std::iter variants of try_fold and try_for_each get the iterator &mut, with the note that on failure the iterator can be resumed. Might it be an idea to also get this behaviour into async-std?

@yoshuawuyts
Copy link
Contributor

@Wassasin if we could get that to work that'd be fantastic!

Copy link
Contributor

@yoshuawuyts yoshuawuyts left a comment

Choose a reason for hiding this comment

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

Looks good! Thanks heaps!

Copy link

@ghost ghost left a comment

Choose a reason for hiding this comment

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

Thanks!

@ghost ghost merged commit 6b00e5e into async-rs:master Oct 16, 2019
This pull request was closed.
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

2 participants