Class ConcatWithOperator
Extension methods implementing the concatWith operator.
public static class ConcatWithOperator
- Inheritance
-
System.ObjectConcatWithOperator
Methods
ConcatWith<T>(Observable<T>, params Observable<T>[])
Emits all values from source, then, once it completes, subscribes to each of
otherSources in turn, one at a time. Pipeable-operator sugar over
Concat<T>(params Observable<T>[]) with source prepended:
source.ConcatWith(a, b) is the same as Observable.Concat(source, a, b).
public static Observable<T> ConcatWith<T>(this Observable<T> source, params Observable<T>[] otherSources)
Parameters
sourceObservable<T>The source sequence, subscribed to first.
otherSourcesObservable<T>[]The other sequences to subscribe to sequentially, in order, after
sourcecompletes.
Returns
- Observable<T>
An observable that emits
source's values followed by each ofotherSources's, in order.
Type Parameters
TThe type of values shared by
sourceandotherSources.