Table of Contents

Class MergeWithOperator

Namespace
RxSharp.Operators
Assembly
RxSharp.dll

Extension methods implementing the mergeWith operator.

public static class MergeWithOperator
Inheritance
System.Object
MergeWithOperator

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

source Observable<T>

The source sequence, merged alongside otherSources.

otherSources Observable<T>[]

The other sequences to merge with source.

Returns

Observable<T>

An observable that emits the interleaved values of source and every one of otherSources.

Type Parameters

T

The type of values shared by source and otherSources.