Table of Contents

Class OnErrorResumeNextOperator

Namespace
RxSharp.Operators
Assembly
RxSharp.dll

Extension methods implementing the pipeable-operator form of onErrorResumeNext.

public static class OnErrorResumeNextOperator
Inheritance
System.Object
OnErrorResumeNextOperator

Methods

OnErrorResumeNext<T>(Observable<T>, params Observable<T>[])

Re-emits values from source; once it ends — whether it completes or errors — subscribes to the first of otherSources and continues the same way through the rest, in order, regardless of whether each one completes or errors. The output only completes once every source has been exhausted, and never itself errors. Pipeable-operator sugar over OnErrorResumeNext<T>(params Observable<T>[]) with source prepended: source.OnErrorResumeNext(a, b) is the same as Observable.OnErrorResumeNext(source, a, b).

public static Observable<T> OnErrorResumeNext<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, once source ends (whether by completion or error).

Returns

Observable<T>

An observable that emits every source's values in sequence, moving past errors instead of forwarding them, completing once every source has ended.

Type Parameters

T

The type of values shared by source and otherSources.