TimerUtil
This is a timer utility that allows to keep track of time and run certain code on a specified interval
Last updated
Was this helpful?
This is a timer utility that allows to keep track of time and run certain code on a specified interval
Last updated
Was this helpful?
Returns a object.
Returns the current time of the timer as a Number
This will reset the time elapsed
Returns true if the timer has elapsed the specified time
time
Number
The time elapsed to check in milliseconds
reset (Optional)
Boolean
Set to true if you want to reset the time elapsed if the method returned true