Table of Contents

Method Process

Namespace
Bonsai.Scripting.Python
Assembly
Bonsai.Scripting.Python.dll

Process<TSource>(IObservable<TSource>)

Adds or updates a Python runtime variable in the specified top-level module with the values from an observable sequence.

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

Parameters

source IObservable<TSource>

The sequence of values used to update the Python runtime variable.

Returns

IObservable<TSource>

An observable sequence that is identical to the source sequence but where there is an additional side effect of setting the specified Python runtime variable to the values of the sequence.

Type Parameters

TSource

The type of the values in the source sequence.