Skip to content

Adds a from_fn stream implementation #277

New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

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.

montekki and others added 3 commits October 6, 2019 08:35
Co-Authored-By: Yoshua Wuyts <yoshuawuyts+github@gmail.com>
@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.
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants