mergeScan()
's accumulator doesn't receive any index
parameter
#4441
Labels
feature
PRs and issues for features
Bug Report
Current Behavior
When using
mergeScan()
itsaccumulator
function never receivesindex
like all other operators.https://github.com/ReactiveX/rxjs/blob/master/src/internal/operators/mergeScan.ts#L48
Reproduction
Expected behavior
The
accumulator
function should receiveindex
parameter with ever increasing numbers for every emission from source likescan
ormergeMap
do.https://github.com/ReactiveX/rxjs/blob/master/src/internal/operators/mergeMap.ts#L13
https://github.com/ReactiveX/rxjs/blob/master/src/internal/operators/scan.ts#L7
Environment
The text was updated successfully, but these errors were encountered: