WebUSB is enabled inside dedicated worker contexts. This allows developers to perform heavy I/O and processing of data from a USB device on a separate thread to reduce the performance impact on the main thread.
Docs: https://github.com/odejesush/webusb-on-workers/blob/master/EXPLAINER.md https://docs.google.com/document/d/16T3rhUtYg3GBGotj_pPUXmGmYbf15qdYNEYf4LhKAhM/
Samples: https://github.com/odejesush/weblight/tree/dedicated-worker https://github.com/odejesush/webusb-wasm-libgphoto2/tree/worker-implementation