Looks like alarm.js is only called from boot.js which is run at boot time. What else you think would be running at that time?
alarm.js
boot.js
EDIT: Just ignore this, I didn't realize there is potentially long setTimeout in boot.js - so yes good question.
setTimeout
Would an immediate run not still pose problems for something earlier in the boot process?
@Subtlewolf 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.
Looks like
alarm.js
is only called fromboot.js
which is run at boot time. What else you think would be running at that time?EDIT: Just ignore this, I didn't realize there is potentially long
setTimeout
inboot.js
- so yes good question.