Table of Contents

Method Process

Namespace
Bonsai.Reactive
Assembly
Bonsai.Core.dll

Process<TSource>(IObservable<TSource>)

Returns the count of the number of elements in an observable sequence.

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

Parameters

source IObservable<TSource>

An observable sequence that contains elements to be counted.

Returns

IObservable<int>

An observable sequence containing a single integer representing the total number of elements in the source sequence.

Type Parameters

TSource

The type of the elements in the source sequence.