lost

open external val lost: Promise<GPUDeviceLostInfo>(source)

The lost read-only property of the GPUDevice interface contains a Promise that remains pending throughout the device's lifetime and resolves with a GPUDeviceLostInfo object when the device is lost.

MDN Reference