Table of Contents

Method Process

Namespace
Bonsai.Reactive
Assembly
Bonsai.Core.dll

Process<TSource>(IObservable<TSource>)

Returns the first element of an observable sequence, or a default value if no such element exists.

public override IObservable<TSource> Process<TSource>(IObservable<TSource> source)

Parameters

source IObservable<TSource>

The sequence to take the first element from.

Returns

IObservable<TSource>

An observable sequence containing the first element of the source sequence, or a default value if no such element exists.

Type Parameters

TSource

The type of the elements in the source sequence.