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

To kill async.iterator or not to kill #1237

Closed
megawac opened this issue Jul 12, 2016 · 1 comment
Closed

To kill async.iterator or not to kill #1237

megawac opened this issue Jul 12, 2016 · 1 comment

Comments

@megawac
Copy link
Collaborator

megawac commented Jul 12, 2016

As far as I can tell, async.iterator is not used internally despite being documented as an exposed internal method. As mentioned in #1220, I think it's time we leave this method in the dust in favour of ES2015 iterator protocol (https://developer.mozilla.org/en-US/docs/Web/JavaScript/Guide/Iterators_and_Generators) which natively supports arrays

@aearly
Copy link
Collaborator

aearly commented Jul 12, 2016

Yeah, I think we can kill it. It used to be used internally in waterfall, and I think caolan just exposed it in case anyone found it useful. It's been superseded by native iterator support.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants