RxJS concat() Join OperatorThe 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 Explanationobservables: It specifies that the input given is an array of Observables. Return valueThe 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. ExampleOutput: After executing the above example, you will see the following result:
Next TopicRxJS Operators
|