#include <TaskManagerIO.h>
Public Member Functions | |
| TimePeriod (uint32_t amount, TimerUnit unit, bool repeat) | |
| TimePeriod (const TimePeriod &other)=default | |
| TimePeriod & | operator= (const TimePeriod &other)=default |
| uint32_t | getAmount () const |
| TimerUnit | getUnit () const |
| bool | getRepeating () const |
A scheduling object that makes it easier to represent schedules in taskManager, they can be applied in a neater written form that makes for quicker code understanding. The are used along with the helper function to provide a single schedule method. For example: taskManager.schedule(onceMicros(100), [] { workToDo() });.