Fabricators
Fabricators are special Services designed to retrieve information from external shell commands or internal Python functions. They can also handle continuous streams of data, such as output from a persistent shell command or a Python generator function.
Fabricators provide several key options during initialization, allowing you to:
- Set an initial value: Specify the default value when the Fabricator starts.
- Define the polling source: Choose whether to poll data from a Python function/generator or a shell command.
- Configure the polling interval: Determine how frequently the Fabricator polls the data source (in milliseconds).
- Enable streaming: Handle continuous data streams, such as those from generators or streaming shell commands.
Examples
practical examples of how to use Fabricators in your configurations: