So if the callback is missing, it will wait and return?
Which leads to this question.. There is no versioning in modules, so if the library code was updated there is no easy way to tell if an update has been made.
Would a simple 1.2 type version number in the module header suffice?
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.
Is there a way of making this backward compatible with the existing library?
So instead of:
Will this work with older code:
So if the callback is missing, it will wait and return?
Which leads to this question.. There is no versioning in modules, so if the library code was updated there is no easy way to tell if an update has been made.
Would a simple 1.2 type version number in the module header suffice?