Re: [w3ctag/design-reviews] Review Request: WebUSB on Dedicated and Shared Workers (#277)

@dbaron A Shared Worker should be able to handle multiple requests to access the USB device. If I understand correctly, the worker would handle one message at a time in its event loop.

@kenchris WebUSB should behave the same in a worker as with the main thread when the tab is backgrounded. There is a tab indicator that shows when a tab is connected to a USB device, so the backgrounded tab will display the indicator if it is still connected to a USB device.

As for your second question, being able to transfer over the object is something that we're considering so that we don't have to use getDevices in the worker if it's not too difficult to implement.

Thank you for the feedback.

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/w3ctag/design-reviews/issues/277#issuecomment-385476148

Received on Monday, 30 April 2018 17:51:02 UTC