hi,
I’m running the code, prescribed by “looping the loop” section.
but say i have 4-5 timer handles, and I want to clean it, is there a single line command to clean that rather than iterating through the table to clean it.
moreover, as a language doubt, how would I do that if I have to iterate through the table, if I do not know what all table keys exist at a time.
If you’re referring to the wakeUpOnce function from Looping the loop, then I think the table is designed to contain only zero or one timer handles at a time.
If you want to iterate over a table you can use
foreach(key, value in mytable) { server.log(key + ":" + value) }
There isn’t currently a single command to cancel all timers.