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

</rx-marbles>

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.

Arguments

  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.

Returns

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

Example

Merge two sequences

Use max concurrency