Table of Contents

Method Process

Namespace
Bonsai.PulsePal
Assembly
Bonsai.PulsePal.dll

Process<TSource>(IObservable<TSource>)

Configures a single channel parameter on the Pulse Pal device whenever an observable sequence emits a notification.

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

Parameters

source IObservable<TSource>

The sequence containing the notifications used to trigger configuration of the Pulse Pal channel parameter.

Returns

IObservable<TSource>

An observable sequence that is identical to the source sequence but where there is an additional side effect of configuring a single channel parameter on the Pulse Pal device whenever the sequence emits a notification.

Type Parameters

TSource

The type of the elements in the source sequence.

Process(IObservable<PulsePalDevice>)

Configures a single channel parameter on every Pulse Pal device in the observable sequence.

public IObservable<PulsePalDevice> Process(IObservable<PulsePalDevice> source)

Parameters

source IObservable<PulsePalDevice>

The sequence of Pulse Pal devices to configure.

Returns

IObservable<PulsePalDevice>

An observable sequence that is identical to the source sequence but where there is an additional side effect of configuring a single channel parameter on each Pulse Pal device.