That's great - thanks for posting it up!
If you were using Espruino on a Pico/Wifi/etc then you could actually use the compiled code flag to compile that section of JS to native code :)
I think eventually I will implement the ws lib natively inside Espruino (to hopefully allow the web IDE to communicate with Wifi-enabled boards), but I'm afraid right now I have a bit too much on my plate!
© Espruino, powered by microcosm.
Report a problem