Class OnErrorResumeNextOperator
Extension methods implementing the pipeable-operator form of onErrorResumeNext.
public static class OnErrorResumeNextOperator
- Inheritance
-
System.ObjectOnErrorResumeNextOperator
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
sourceObservable<T>The source sequence, subscribed to first.
otherSourcesObservable<T>[]The other sequences to subscribe to sequentially, in order, once
sourceends (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
TThe type of values shared by
sourceandotherSources.