Calling next() only seems to work if apply is defined in the global context (not in a module) because this.next = function().... defines the function next at the global level, correct?
And that makes it impossible to nest async's, right?
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.
Thanks for posting!
Calling
next()
only seems to work if apply is defined in the global context (not in a module) becausethis.next = function()....
defines the function next at the global level, correct?And that makes it impossible to nest async's, right?