Table of Contents

Method Process

Namespace
Bonsai.Reactive
Assembly
Bonsai.Core.dll

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

Concatenates the second observable sequence to the first observable sequence upon successful 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 contains the elements of the first sequence, followed by those of the second sequence.

Type Parameters

TSource

The type of the elements in the source sequences.

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

Concatenates all of the specified observable sequences, as long as the previous observable sequence terminated successfully.

public IObservable<TSource> Process<TSource>(IObservable<TSource> first, IObservable<TSource> second, params IObservable<TSource>[] remainder)

Parameters

first IObservable<TSource>

The first observable sequence.

second IObservable<TSource>

The second observable sequence.

remainder IObservable<TSource>[]

The remaining observable sequences to concatenate.

Returns

IObservable<TSource>

An observable sequence that contains the elements of each given sequence, in sequential order.

Type Parameters

TSource

The type of the elements in the source sequences.

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

Concatenates all inner observable sequences, as long as the previous observable sequence terminated successfully.

public IObservable<TSource> Process<TSource>(IObservable<IObservable<TSource>> sources)

Parameters

sources IObservable<IObservable<TSource>>

The observable sequence of inner observable sequences.

Returns

IObservable<TSource>

An observable sequence that contains the elements of each observed inner sequence, in sequential order.

Type Parameters

TSource

The type of the elements in the source sequences.

Process<TSource>(IObservable<IEnumerable<TSource>>)

Concatenates all inner enumerable sequences into one observable sequence.

public IObservable<TSource> Process<TSource>(IObservable<IEnumerable<TSource>> sources)

Parameters

sources IObservable<IEnumerable<TSource>>

The observable sequence of inner enumerable sequences.

Returns

IObservable<TSource>

An observable sequence that contains the elements of each inner enumerable sequence, in sequential order.

Type Parameters

TSource

The type of the elements in the source sequences.