XAsyncSockets
XAsyncSockets copied to clipboard
Use of select.select vs select.poll
This code is using uselect.select() to block for events. However, I want to run the code under the Unix port of micropython (and esp32). That port doesn't provide the select method, and assumes everyone wants to use the superior poll object interface. The docs also have pretty strong language about select.select(): This function is provided by some MicroPython ports for compatibility and is not efficient. Usage of Poll is recommended instead. see here
It doesn't look hard to rework to use poll() but I'm surprised it wasn't done already and I'm thinking this might be a deliberate choice?