This AsyncIterator maps every item of a query AsyncIterator to a result AsyncIterator by passing it through a run function. All result AsyncIterator get concatenated to form the FlatMapIterator
run
+-----+ +-----+ queryIterator |0 & 9| +---+ + |1 & 8| +---+ + ... +-----+ | +-----+ | v v +-----------------------+ +-----------------------+ resultIterators |01|02|04|05|06|07|08|09| + |11|12|13|14|15|16|17|18| + ... +-----------------------+ +-----------------------+ +-----------------------------------------------+ FlatMapIterator |01|02|04|05|06|07|08|09|11|12|13|14|15|16|17|18| ... +-----------------------------------------------+
since v4.0.0
Generated using TypeDoc
This AsyncIterator maps every item of a query AsyncIterator to a result AsyncIterator by passing it through a
run
function. All result AsyncIterator get concatenated to form the FlatMapIterator+-----+ +-----+ queryIterator |0 & 9| +---+ + |1 & 8| +---+ + ... +-----+ | +-----+ | v v +-----------------------+ +-----------------------+ resultIterators |01|02|04|05|06|07|08|09| + |11|12|13|14|15|16|17|18| + ... +-----------------------+ +-----------------------+ +-----------------------------------------------+ FlatMapIterator |01|02|04|05|06|07|08|09|11|12|13|14|15|16|17|18| ... +-----------------------------------------------+