Class MergeWithOperator
Extension methods implementing the mergeWith operator.
public static class MergeWithOperator
- Inheritance
-
System.ObjectMergeWithOperator
Methods
MergeWith<T>(Observable<T>, params Observable<T>[])
Subscribes to source and every one of otherSources at the same
time, emitting every value from every one of them as it arrives. Pipeable-operator sugar over
Merge<T>(params Observable<T>[]) with source prepended:
source.MergeWith(a, b) is the same as Observable.Merge(source, a, b).
public static Observable<T> MergeWith<T>(this Observable<T> source, params Observable<T>[] otherSources)
Parameters
sourceObservable<T>The source sequence, merged alongside
otherSources.otherSourcesObservable<T>[]The other sequences to merge with
source.
Returns
- Observable<T>
An observable that emits the interleaved values of
sourceand every one ofotherSources.
Type Parameters
TThe type of values shared by
sourceandotherSources.