Any chance that Espruino will supports ES6's async/await syntax in future?
I've found that it is easier to use and much more readable than using Promises with .then, or callbacks for that matter. It is very much suited to the asynchronous nature of connected devices, where you typically send a command and then wait for reply.
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.
Any chance that Espruino will supports ES6's async/await syntax in future?
I've found that it is easier to use and much more readable than using Promises with .then, or callbacks for that matter. It is very much suited to the asynchronous nature of connected devices, where you typically send a command and then wait for reply.