Posted: Sat May 11, 2024 3:59 pm Post subject: Can Timer's interval be changed in runtime?
Hi all!
I would like to create an adaptive timer.
Meaning, it runs every 200ms for a while, and then, when something happens, I'd like to change that the tick interval to 50ms or 1000ms, depending on the situation.
I guess I am asking whether calling setInterval(...) within the timer itself is going to cause any breakage down the road?
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum You cannot attach files in this forum You can download files in this forum