SensESP 2.7.2
Universal Signal K sensor toolkit ESP32
|
Producer class that works across task boundaries. More...
#include <sensesp/system/task_queue_producer.h>
Additional Inherited Members | |
Protected Attributes inherited from sensesp::ValueProducer< T > | |
T | output |
Producer class that works across task boundaries.
Normal ObservableValues call the observer callbacks within the same task content. In a multi-task software, this is not always preferable. This class allows you to produce values in one task and consume them in another.
T |
consumer_app | The app object in which the values should be consumed. |
queue_size | Size of the queue. |
poll_rate | How often to poll the queue. Note: in microseconds! |
Definition at line 23 of file task_queue_producer.h.
|
inline |
Definition at line 42 of file task_queue_producer.h.
|
inline |