Rx.Observable.concat(...args)

Concatenates all of the specified observable sequences, as long as the previous observable sequence terminated successfully.

Arguments

  1. args (Array | arguments): Observable sequences or Promises to concatenate.

Returns

(Observable): An observable sequence that contains the elements of each given sequence, in sequential order.

Example

Using Observable sequences

Using Promises and Observable sequences