[[IntervalScheduler]] calls the callback every intervalMs milliseconds.
Schedules the callback according to the implementation.
Unschedules the callback and prevents it from being called anymore.
[[IntervalScheduler]] calls the callback every intervalMs milliseconds.