TimerOptions
Index
Properties
optionalaction
Type declaration
Returns void
optionalfcn
Type declaration
Returns void
interval
Interval in milliseconds for the timer to fire
optionalnumberOfRepeats
If a number is specified then it will only repeat a number of times
optionalrandom
Optionally provide a random instance to use for random behavior, otherwise a new random will be created seeded from the current time.
optionalrandomRange
Optionally specify a random range of milliseconds for the timer to fire
optionalrepeats
If true the timer repeats every interval infinitely
Action to perform every time the timer fires