AaronLionsheep / ShellyMQTT

IndigoDomo Plugin that interfaces with Shelly devices over MQTT.
MIT License
0 stars 0 forks source link

Create a task scheduler #53

Closed AaronLionsheep closed 4 years ago

AaronLionsheep commented 4 years ago

https://towardsdatascience.com/introduction-to-priority-queues-in-python-83664d3178c3

https://stackoverflow.com/questions/803616/passing-functions-with-arguments-to-another-function-in-python

https://docs.python.org/3/library/queue.html#queue.PriorityQueue

AaronLionsheep commented 4 years ago

This is mainly a utility class for scheduling method calls for internal use. An example is scheduling the device table to beloved after a certain period from the announce request.