Home » RxJS concat() Join Operator

RxJS concat() Join Operator

by Online Tutorials Library

RxJS concat() Join Operator

The RxJS concat() operator is a join operator that creates an output Observable, which sequentially emits all values from the given Observable and then proceed to the next one.

Syntax:

Following is the syntax of the concat() operator:

Parameter Explanation

observables: It specifies that the input given is an array of Observables.

Return value

The concat() operator’s return value is an observable that gives a single value merged from the values of the different source observables.

Let us see an example of concat() operator to understand it clearly.

Example

Output:

After executing the above example, you will see the following result:

RxJS concat() Join Operator


Next TopicRxJS Operators

You may also like