Table of Contents

Method Process

Namespace
Bonsai.IO.Ports
Assembly
Bonsai.System.dll

Process<TSource>(IObservable<TSource>)

Writes the text representation of each element of an observable sequence to a serial port.

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

Parameters

source IObservable<TSource>

The sequence containing the elements to write to the serial port.

Returns

IObservable<TSource>

An observable sequence that is identical to the source sequence but where there is an additional side effect of writing the elements to the serial port.

Type Parameters

TSource

The type of the elements in the source sequence.