Class OnErrorResumeNext
Represents an operator that concatenates any number of observable sequences even if any of the sequences terminates exceptionally.
The OnErrorResumeNext
operator allows you to combine the output of multiple sequences of the same type into a single sequence. OnErrorResumeNext
subscribes to each sequence in turn, emits all the values from that sequence until termination, and then subscribes to the next sequence, even if the previous sequence has terminated with an error. Each sequence is guaranteed to only start after the previous one terminates.
The resulting sequence will always terminate successfully when the last source sequence has terminated.
[Combinator]
public class OnErrorResumeNext
- Inheritance
-
OnErrorResumeNext
- Inherited Members
Methods
Process<TSource>(IObservable<TSource>, IObservable<TSource>)
Concatenates the second observable sequence to the first observable sequence upon successful or exceptional termination of the first.
public IObservable<TSource> Process<TSource>(IObservable<TSource> first, IObservable<TSource> second)
Parameters
first
IObservable<TSource>The first observable sequence.
second
IObservable<TSource>The second observable sequence.
Returns
- IObservable<TSource>
An observable sequence that concatenates the first and second sequence, even if the first sequence terminates exceptionally.
Type Parameters
TSource
The type of the elements in the source sequences.
Process<TSource>(params IObservable<TSource>[])
Concatenates all of the specified observable sequences, even if the previous observable sequence terminated exceptionally.
public IObservable<TSource> Process<TSource>(params IObservable<TSource>[] sources)
Parameters
sources
IObservable<TSource>[]The observable sequences to concatenate.
Returns
- IObservable<TSource>
An observable sequence that concatenates the source sequences, even if a sequence terminates exceptionally.
Type Parameters
TSource
The type of the elements in the source sequences.