这是
实验性技术
检查
浏览器兼容性表格
要小心谨慎在生产中使用这之前。
locks
只读特性在
WorkerNavigator
interface returns a
LockManager
object which provides methods for requesting a new
锁
object and querying for an existing
锁
对象。
var lockManager = Navigator.locks
A
LockManager
对象。
| 规范 | 状态 | 注释 |
|---|---|---|
|
Web Locks API
The definition of 'locks' in that specification. |
草案 | 初始定义。 |
No compatibility data found. Please contribute data for "api.WorkerNavigator.locks" (depth: 1) to the MDN 兼容性数据存储库 .