I'm not quite sure what you mean? It has a built in scheduler which you use with setTimeout/setInterval, and it uses that (and an internal event queue) to execute functions when they're needed.
There is no preemption, but that's not really what JS is about.
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.
I'm not quite sure what you mean? It has a built in scheduler which you use with setTimeout/setInterval, and it uses that (and an internal event queue) to execute functions when they're needed.
There is no preemption, but that's not really what JS is about.