Just one more thing about firing the events from the lib, like Bangle.on('mag'...)
I guess events are triggering "type" : "idle", where the associated 'C' method [like jswrap_puck_idle(), jswrap_banglejs_idle() ]checks if any event is available once every time around the event loop and call * jsiQueueObjectCallbacks();*.
Or there is something more or else that I am missing.
© Espruino, powered by microcosm.
Report a problem