-
Notifications
You must be signed in to change notification settings - Fork 2.4k
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
Support ES6's Iterators #839
Labels
Comments
I like the idea. You can get decent support today, just by using the spread operator: async.map([...numberMap], function (item, callback) {...
|
👍 it'd be relatively easy to support via some |
Closed
New PR for generators #1074 |
Closed by #1074! |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
ES6's Map and Sets feel like they could fit as an input data type, as they can be iterated over easily.
I found myself looking to use async with a
Map
earlier today, but had to convert it to an object and back.Example with a Map:
Example with a Set:
Possibly related to #579
The text was updated successfully, but these errors were encountered: