DEV Community

Discussion on: Make an object traversable with the iterator protocol

Collapse
 
kenbellows profile image
Ken Bellows

Awesome overview! IMO iterators and generators are super underrated features of JavaScript. The Iterator protocol is definitely a little confusing, but generators make it way easier. It gets even more amazing when you add in async iterators, generators, and loops for iterating through sequential asynchronous processes! No more awkward Promise reducers necessary!

Collapse
 
aminnairi profile image
Amin

Really appreciate your comment Ken, thank you. I Couldn't have said better as a conclusion. I think I'll do an overview of async generators in order to complete the circle.