Hi hello to everyone, i have a question with use of Timers, i will put a case of use
let config = {
intervalControl: 10000
}
let myTimer =Timer.set(config.intervalControl, Timer.REPEAT, function() {
.....
}, null);
let changeTimerInterval = function(newInterval){
myTimer.set(newInterval,Timer.REPEAT,function(){
....
})
}
this only an example to demostrate what i want to obtain, reading in the doc i found that i can delete a timer with id , but how do i know the id of the timer?, the final question how is the best way to dinamiclly change the timer interval.