re: JavaScript Iterators and Generators: Asynchronous Generators VIEW POST

FULL DISCUSSION
 

To any readers, if you enjoyed this article you might take a moment to check out (or checkout) iter-tools. I currently maintain it, and it provides a great toolbox for working with any kind of iterables, including Arrays, Maps, Sets and the async iterables discussed in this article. It's the only set of tools I know that won't ever leak a file handle when used with something like the FileReaderByLines class described above.

 
code of conduct - report abuse