Timer:unsubscribe
methodTimer:unsubscribe()Stop the timer and release it. Idempotent.
In the guide: Troubleshooting How your app runs
handle5 methods
A scheduled timer from time.after / time.every, or a running time.tween. Unsubscribe it, pause/resume it, or query its elapsed / remaining time.
datumhue.time.after, datumhue.time.every, datumhue.time.tweenTimer:unsubscribe()Stop the timer and release it. Idempotent.
In the guide: Troubleshooting How your app runs
Timer:pause()Pause the timer; it stops advancing until resumed. No-op if it already fired.
Timer:resume()Resume a paused timer. No-op if it already fired.
Timer:elapsed() -> numberSeconds elapsed in the current cycle (resets each fire for a repeating timer); 0 once fired/unsubscribed.
Timer:remaining() -> numberSeconds until the next fire; 0 once fired/unsubscribed.