constructor new PeriodicalExecuter
new PeriodicalExecuter(callback, frequency)
-
callback(Function) – the function to be executed at each interval. -
frequency(Number) – the amount of time, in seconds, to wait in between callbacks.
Creates a PeriodicalExecuter.