constructor new PeriodicalExecuter

View source on GitHub →

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.