You haven't used it correctly.
It has to be used in conjunction with functions that return a promise. See the functions that demonstrate how to use it on lines 107,129.
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.
You haven't used it correctly.
It has to be used in conjunction with functions that return a promise. See the functions that demonstrate how to use it on lines 107,129.