Experimental: This is an experimental technology
Check the Browser compatibility table carefully before using this in production.
The Lock
interface of the Web Locks API provides the name and mode of a lock. This may be a newly requested lock that is received in the callback to LockManager.request()
, or a record of an active or queued lock returned by LockManager.query()
.