← Back to release summary

WebUSB on Dedicated Workers

Category
Device
Type
New or changed feature
Status
Enabled by default (Chrome 70)
Intent stage
None

Summary

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.

Standards & signals

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

View on chromestatus.com