scheduler allows adding periodic function executions.
Schedules function for a periodic execution in
period milliseconds intervals.
Each function call is limited to 10 seconds, otherwise, the call will be terminated. It will not affect the scheduler though and the execution will continue again after the
All scheduled function calls are executed sequentially on a single CPU core. This means that no two scheduled functions will be running in parallel.
Returns the ID of the scheduled execution. You can use it for any further executions of
Removes function from Scheduler.