Table of Contents

Class ConcatWithOperator

Namespace
RxSharp.Operators
Assembly
RxSharp.dll

Extension methods implementing the concatWith operator.

public static class ConcatWithOperator
Inheritance
System.Object
ConcatWithOperator

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

source Observable<T>

The source sequence, subscribed to first.

otherSources Observable<T>[]

The other sequences to subscribe to sequentially, in order, after source completes.

Returns

Observable<T>

An observable that emits source's values followed by each of otherSources's, in order.

Type Parameters

T

The type of values shared by source and otherSources.