Documentation / @eventkit/base / concat
Function: concat()
ts
function concat<T, A>(...otherSources): OperatorFunction<T, T | A[number]>Merges the values from all provided observables into a single observable. When subscribed to, it will subscribe to the provided observables in a serial fashion, emitting the observables values, and waiting for each one to complete before subscribing to the next. The output observable will complete when all provided observables have completed, and error when any provided observable errors.
Type Parameters
| Type Parameter |
|---|
T |
A extends readonly unknown[] |
Parameters
| Parameter | Type |
|---|---|
...otherSources | [...AsyncObservableInputTuple<A>[]] |
Returns
OperatorFunction<T, T | A[number]>