Arguments: |
|
---|
Calling clear prevents the timer from ever re-firing again.
Returns: | Boolean corresponding to whether the timer is currently suspended. |
---|
Param : | numeric, specifying how long from now to go before re-firing the timer. |
---|---|
Returns: | boolean. This function takes in a single argument: when the callback should actually fire from now. |
Calling this function on a timer makes it so that the timer’s associated callback will fire however many seconds from now the timer was initialized with.
Calling suspend prevents the timer from firing again until it is resumed.