|
tinyhttp
|
A Simple Ticker which executes a callback function in defined intervalls. More...
#include <Ticker.h>
Public Member Functions | |
| Ticker (int cleanupSchedule=60000) | |
| void | doLoop () |
| please call this method in your loop() | |
| int | schedule (long repeatMs, void(*callback)(void *), long startMs=UNDEFINED_SCHEDULE, long endMs=UNDEFINED_SCHEDULE, void *ctx=nullptr) |
| Schedule and starts the execution of the callback. | |
| void | stop (int id) |
| stops the execution of the callback by setting the end time; | |
| void | stopAll () |
| stops the execution of the callback by setting the end time; | |
Static Protected Member Functions | |
| static void | cleanup (void *) |
A Simple Ticker which executes a callback function in defined intervalls.