Great to hear that .getIP(...) on ESP8266 accepts callback... So no need for the trickery I used if code. It still works, it just behaves flow-wise like async callback with 'no sick time', but with quite different callback argument: a rich object vs. just an IP as strin (can still be fixed/determined). Having a callbak with a different argument makes it actually worse than being just incompatible..
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.
Great to hear that
.getIP(...)
on ESP8266 accepts callback... So no need for the trickery I used if code. It still works, it just behaves flow-wise like async callback with 'no sick time', but with quite different callback argument: a rich object vs. just an IP as strin (can still be fixed/determined). Having a callbak with a different argument makes it actually worse than being just incompatible..