release method

JSPromise<JSAny?> release()

The release() method of the WakeLockSentinel interface releases the WakeLockSentinel, returning a Promise that is resolved once the sentinel has been successfully released.

Implementation

external JSPromise<JSAny?> release();