RubenVerborgh / AsyncIterator

An asynchronous iterator library for advanced object pipelines in JavaScript
https://rubenverborgh.github.io/AsyncIterator/docs/
Other
48 stars 7 forks source link

feat: add uniq method to AsyncIterator #64

Closed jeswr closed 2 years ago

jeswr commented 2 years ago

This add the method .uniq the the AsyncIterator which captures a common pattern used with AsyncIterators of filtering elements in the iterator such that only unique elements are passed through.

Since this uses the .filter method directly this will be unaffected by #59

coveralls commented 2 years ago

Coverage Status

Coverage remained the same at 100.0% when pulling 8e0d86365bf2c8120fbc68cf5b2a06b3e11206d8 on feat/uniq into 358608fa09ec87f90cd30190b8c0ffd96f727986 on main.

RubenVerborgh commented 2 years ago

Thanks a lot—releasing this now as v3.7.0.