- Requests a
Lockobject with parameters specifying its name and characteristics.
- Returns a
Promisethat resolves with a
LockManagerSnapshotwhich contains information about held and pending locks.
|Web Locks API
The definition of 'LockManager' in that specification.
The compatibility table in this page is generated from structured data. If you'd like to contribute to the data, please check out https://github.com/mdn/browser-compat-data and send us a pull request.