Yes - https://github.com/espruino/Espruino/blob/master/src/jswrap_interactive.c#L372
The timeouts work by repeated decrement based on jsiLastIdleTime, so as long as that is set it's ok.
I do not understand why intervals are not broken after I call setTime() in JS
Because setTime calls jswrap_interactive_setTime which I mentioned above, which sets jsiLastIdleTime
jswrap_interactive_setTime
@Gordon started
Espruino is a JavaScript interpreter for low-power Microcontrollers. This site is both a support community for Espruino and a place to share what you are working on.
Yes - https://github.com/espruino/Espruino/blob/master/src/jswrap_interactive.c#L372
The timeouts work by repeated decrement based on jsiLastIdleTime, so as long as that is set it's ok.
Because setTime calls
jswrap_interactive_setTime
which I mentioned above, which sets jsiLastIdleTime