Skip to main content
Version: 5.7.x.x Java 8 ELS

Timer object methods

MethodDescriptionSample
timer:getTime()Returns the current time in milliseconds.now = timer:getTime()
timer:sleep(duration)Sleeps for the specified duration in milliseconds.timer:sleep(2000)