Table of Contents

Method Process

Namespace
Bonsai.Reactive
Assembly
Bonsai.Core.dll

Process<TSource>(IObservable<TSource>)

Returns the last 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 last element from.

Returns

IObservable<TSource>

An observable sequence containing the last 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.