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

Adds a from_fn stream implementation #277

Merged
4 commits merged into from
Oct 15, 2019
Merged

Adds a from_fn stream implementation #277

4 commits merged into from
Oct 15, 2019

Conversation

montekki
Copy link
Member

@montekki montekki commented Oct 5, 2019

Hope the example is not too ugly.


Ref: #129
Stdlib: https://doc.rust-lang.org/std/iter/fn.from_fn.html

@yoshuawuyts
Copy link
Contributor

Related #130 -- we closed that PR because async closures aren't really useful right now. But I guess it's "later" now, and with #262 and #279 we're already introducing several functions relying on async closures, so this might feel less out of place.

@yoshuawuyts yoshuawuyts added the enhancement New feature or request label Oct 8, 2019
@yoshuawuyts yoshuawuyts added this to the 0.99.10 milestone Oct 13, 2019
@ghost ghost merged commit 23beab4 into async-rs:master Oct 15, 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
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants