You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@reillyeon I just checked - navigator.usb also allows to add and remove listeners, so this could just be passed through from what I understand.
If you like, I can implement that and submit a PR, I am just asking since I saw you already fixed #19 yesterday and thought maybe you have the listener changes stashed away and ready to submit ;-)
In the "real" Web Serial API it is possible to add and remove Event listener that listen on the connect and disconnect events:
The disconnect listener is IMHO especially important, so that one can clean up after the device has been disconnected.
The text was updated successfully, but these errors were encountered: