This repository has been archived by the owner on Oct 8, 2024. It is now read-only.
flatMap with concurrency parameter #254
Labels
good follow-on proposal
this would be good but doesn't need to be in the first milestone
In IxJS, we have a notion of both
concatMap
andflatMap
, whereconcatMap
is a simple cartesian product just asflatMap
is withIterable
. This allows theAsyncIterable
to be able to use its natural concurrency at its heart to produce a sequence of sequences.Note that this is hard to bake in after the fact once shipped. The
concatMap
can then be modeled withconcatMap(fn, 1, thisArg)
.The text was updated successfully, but these errors were encountered: