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

merge

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