Rx.Observable.prototype.merge(maxConcurrent | other)


Merges an observable sequence of observable sequences into an observable sequence, limiting the number of concurrent subscriptions to inner sequences. Or merges two observable sequences into a single observable sequence.


  1. maxConcurrent (Function): Maximum number of inner observable sequences being subscribed to concurrently.
  2. other (Observable): The second observable sequence to merge into the first.


(Observable): The observable sequence that merges the elements of the inner sequences.


Merge two sequences

Use max concurrency