DEV Community

Discussion on: JavaScript Iterators and Generators: Asynchronous Generators

Collapse
 
conartist6 profile image
Conrad Buck • Edited

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.

Collapse
 
jfet97 profile image
Andrea Simone Costa

Do you know IxJS?

Collapse
 
conartist6 profile image
Conrad Buck • Edited

I do. Both serve the same use case, I just think iter-tools is better. A lot better actually! I've put quite a lot of my own work into it to make that be the case.

For one thing it has API docs, making it semver compliant where IxJS is not.

It also offers all its methods in both sync and async forms, which Ix does not.

I'm also fairly sure that it has vastly superior test coverage.