data_source v0.1.3 API Reference

Modules

A Datasource is started as a process and implements a function next which returns the next value of the data source. E.g. for sensors the next function reads the current value of the sensor and returns that. For file sources, it may read the next line and so on

Can be used in Datasource as the function-argument

A DataStage takes a Datasource as argument and takes values from this source on demand

Can be used in Datasource as the function-argument. It streams a given file line by line

Can be used in Datasource as the function-argument. It generates random float numbers between 0.0 and 1.0

Can be used in Datasource as the function-argument

Can be used in Datasource as the function-argument. It returns the current OS time in milliseconds