Table of Contents

Method Process

Namespace
Bonsai.Reactive
Assembly
Bonsai.Core.dll

Process<TSource>(IObservable<TSource>, IObservable<TSource>)

Continues an observable sequence that is terminated by an exception with the next observable sequence.

public IObservable<TSource> Process<TSource>(IObservable<TSource> first, IObservable<TSource> second)

Parameters

first IObservable<TSource>

The first observable sequence whose exception (if any) is caught.

second IObservable<TSource>

The second observable sequence used to produce results when the first sequence terminates exceptionally.

Returns

IObservable<TSource>

An observable sequence containing the elements of the first sequence, followed by the elements of the second sequence in case an exception occurred.

Type Parameters

TSource

The type of the elements in the source and handler sequences.

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

Continues an observable sequence that is terminated by an exception with the next observable sequence.

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

Parameters

sources IObservable<TSource>[]

The observable sequences to catch exceptions for.

Returns

IObservable<TSource>

An observable sequence containing elements from consecutive source sequences until a source sequence terminates successfully.

Type Parameters

TSource

The type of the elements in all the source sequences.