Repeat f until the scheduler is stopped. First run is after delta has passed once.
Declared in <scheduler.h>
[[requires_capability(0x7f2e20c55a08)]]
void
scheduleEvery(
Function f,
std::chrono::milliseconds delta);
The timing is not exact: Every time f is finished, it is rescheduled to run again after delta. If you need more accurate scheduling, don't use this method.
| Name | Description |
|---|---|
| f | The task to run repeatedly. |
| delta | The interval to wait between runs. |