You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
/Users/aviv.rozenboim/dev/ts-experiments/node_modules/ix/util/util/returniterator.ts:14
if (typeof it.return === 'function') {
^
TypeError: Cannot read properties of undefined (reading 'return')
at returnAsyncIterator (/Users/aviv.rozenboim/dev/ts-experiment/node_modules/ix/util/util/returniterator.ts:14:17)
at Array.map (<anonymous>)
at FlattenConcurrentAsyncIterable.[Symbol.asyncIterator] (/Users/aviv.rozenboim/dev/ts-experiment/node_modules/ix/asynciterable/operators/asynciterable/operators/_flatten.ts:135:66)
at async FlattenConcurrentAsyncIterable.forEach (/Users/aviv.rozenboim/dev/ts-experiment/node_modules/ix/asynciterable/asynciterable/asynciterablex.ts:33:22)
Additional information:
As far as I can tell, flatMap throws when there's less input values than it has concurrency? I don't fully understand this, but I've included a simple reproduction, and I would advise trying out different input sizes/concurrency values to get to the bottom of it.
The text was updated successfully, but these errors were encountered:
IxJS version: 5.0.0
Code to reproduce:
Expected behavior:
flatMap to work concurrently
Actual behavior:
Additional information:
As far as I can tell, flatMap throws when there's less input values than it has concurrency? I don't fully understand this, but I've included a simple reproduction, and I would advise trying out different input sizes/concurrency values to get to the bottom of it.
The text was updated successfully, but these errors were encountered: