Method Generate
Generate()
Gets the value of a variable in the specified Python module and surfaces it through an observable sequence.
public override IObservable<PyObject> Generate()
Returns
- IObservable<PyObject>
A sequence containing the value of the Python runtime variable as a Python.Runtime.PyObject.
Generate<TSource>(IObservable<TSource>)
Gets the value of a variable in the specified Python module whenever an observable sequence emits a notification.
public IObservable<PyObject> Generate<TSource>(IObservable<TSource> source)
Parameters
source
IObservable<TSource>The sequence of notifications used to get the value of the variable.
Returns
- IObservable<PyObject>
A sequence of Python.Runtime.PyObject handles representing the value of the Python runtime variable.
Type Parameters
TSource
The type of the elements in the
source
sequence.