web api instance method
USBDevice: close() method
Limited availabilitySecure contextAvailable in workers
The close() method of the USBDevice
interface returns a Promise that resolves when all open interfaces are
released and the device session has ended.
Syntax
close()
Parameters
None.
Return value
A Promise.
Specifications
SpecificationsStandards references are available on the canonical MDN page.
Browser compatibility
Browser compatibilityCompatibility data is available on the canonical MDN page.