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.
Examples
Use OnErrorResumeNext to concatenate multiple observable sequences, even if one or more of the intermediate sequences terminate with an error.
Related Operators
Use Concat instead to concatenate multiple observable sequences that terminate successfully.
Use Catch instead to raise an exception if all sequences terminated with an error.
[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.
- Process<TSource>(params IObservable<TSource>[])
Concatenates all of the specified observable sequences, even if the previous observable sequence terminated exceptionally.