Method Process
Process<TSource>(IObservable<TSource>)
Evaluates a Python expression in the specified top-level module whenever an observable sequence emits a notification.
public override IObservable<PyObject> Process<TSource>(IObservable<TSource> source)
Parameters
sourceIObservable<TSource>The sequence of notifications used to trigger evaluation of the Python expression.
Returns
- IObservable<PyObject>
A sequence of Python.Runtime.PyObject handles representing the result of evaluating the Python expression.
Type Parameters
TSourceThe type of the elements in the
sourcesequence.
Process(IObservable<PyModule>)
Evaluates a Python expression in an observable sequence of modules.
public IObservable<PyObject> Process(IObservable<PyModule> source)
Parameters
sourceIObservable<PyModule>The sequence of modules in which to evaluate the Python expression.
Returns
- IObservable<PyObject>
A sequence of Python.Runtime.PyObject handles representing the result of evaluating the Python expression.
Process(IObservable<RuntimeManager>)
Evaluates an expression in the main module of the Python runtime.
public IObservable<PyObject> Process(IObservable<RuntimeManager> source)
Parameters
sourceIObservable<RuntimeManager>A sequence containing the Python runtime in which to evaluate the expression.
Returns
- IObservable<PyObject>
A sequence of Python.Runtime.PyObject handles representing the result of evaluating the Python expression.