timeout and interval API
The timers interface si one to easily set timeouts and intervals to run functions after a certain time or repeatedly without using odd tricks.
INTERVAL: Constant for an interval timer typeTIMEOUT: Constant for a timeout timer typetype: What type of timer it isrunning: If the timer is runningduration: The duration in milliseconds that the timer will runStarts a timer.
Stops a timer.
Creates a timer that runs based on the specified time in milliseconds.
The type can either be hilbish.timers.INTERVAL or hilbish.timers.TIMEOUT
Retrieves a timer via its ID.
Want to help improve this page? Create an issue.