MDN self-hosted library · e01.org

USBDevice: reset() method

WebUSB API

no runnable cells web-api-instance-method upstream source

WebUSB API

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

Browser compatibility