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

Filter Map: Add to project #10

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

CollinValley
Copy link

This follows, pretty closely, the pattern used to create Map. The new function spawns a ton of tasks to process each value from the input stream, which are then collected into a channel. Values are pulled from the channel and output via poll_next. The only substantive difference between this and Map is that the provided closure must return a future that yields an Option, rather than a T.

@CollinValley CollinValley mentioned this pull request Mar 22, 2020
79 tasks
Simple fixup with Cargo Fmt, so the tests pass.
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant