2 ms·
Any chance of adding a wrapper for async iterables that allows chaining of filter, map, etc rather than needing to individually import each function? Similarly
by crooked-v 8y ago
Any chance of adding a wrapper for async iterables that allows chaining of filter, map, etc rather than needing to individually import each function?
Similarly, a forEach would be welcome for those of us who prefer to avoid for loops.
- scanr 8y agoThanks for your suggestions. Chaining would be neat. For each should be pretty simple to do.
- crooked-v 8y agoFor other stuff, anything from lodash or ramda that could reasonably be applied to async iterables would be welcome, possibly with some tweaks. For example, a `find` method that returns a Promise that resolves with the first matching result, or optionally rejects after X milliseconds timeout, or a `reduce` that returns an iterable that returns each new reducer result.