Firefox Tomorrow

web api instance method

USBDevice: reset() method

View on MDN ↗

Limited availabilitySecure contextAvailable in workers

The reset() method of the USBDevice interface returns a Promise that resolves when the device is reset and all app operations canceled and their promises rejected.

Syntax

reset()

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.