Rx.Observable.prototype.concatMapObserver(onNext, onError, onCompleted, [thisArg]), Rx.Observable.prototype.selectConcatObserver(onNext, onError, onCompleted, [thisArg])
Projects each notification of an observable sequence to an observable sequence and concats the resulting observable sequences into one observable sequence.
Arguments
onNext(Function): A transform function to apply to each element. The selector is called with the following information:- the value of the element
- the index of the element
onError(Function): A transform function to apply when an error occurs in the source sequence.onCompleted(Function): A transform function to apply when the end of the source sequence is reached.[thisArg](Any): Object to use asthiswhen executing the transform functions.
Returns
(Observable): An observable sequence whose elements are the result of invoking the one-to-many transform function corresponding to each notification in the input sequence.