SignalK / SensESP

Universal Signal K sensor framework for the ESP32 platform
https://signalk.org/SensESP/
Apache License 2.0
146 stars 80 forks source link

TaskQueueProducer changes #627

Closed mairas closed 1 year ago

mairas commented 1 year ago

set() method now returns a boolean to indicate whether adding the value to the queue was successful or not.

Also, the default constructor now requires a pointer to ReactESP to indicate which task context is the consumer. An overloaded constructor without the pointer argument is provided for backwards compatibility.

mairas commented 1 year ago

I'm being a naughty boy and will merge this right away.