Table of Contents

Class OnErrorResumeNext

Namespace
Bonsai.Reactive
Assembly
Bonsai.Core.dll

Represents an operator that concatenates any number of observable sequences even if any of the sequences terminates exceptionally.

Marble diagram

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.

Process<TSource>(params IObservable<TSource>[])

Concatenates all of the specified observable sequences, even if the previous observable sequence terminated exceptionally.