...therefore, a queue is required that holds on to the command and the callback until ESP8266 is ready to do it. This queueing can be a separate - chain linked - module or built into the ESP8266 module. It has also to support some simple querying about the state of the queue and some error handling (callback) on overflow...
Asynch systems were never easy to build... but run very efficient: Espruino is living proof of that.
© Espruino, powered by microcosm.
Report a problem