Table of Contents

Method Process

Namespace
Bonsai.Reactive
Assembly
Bonsai.Core.dll

Process<TSource>(IObservable<TSource>)

Samples the latest element from an observable sequence whenever the specified time interval elapses.

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

Parameters

source IObservable<TSource>

The source sequence to sample.

Returns

IObservable<TSource>

The sampled observable sequence.

Type Parameters

TSource

The type of the elements in the source sequence.

Remarks

Upon each sampling tick, the latest element (if any) emitted by the source sequence during the last sampling interval is sent to the resulting sequence.