107
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:
Next TopicRxJS Operators