Movatterモバイル変換


[0]ホーム

URL:


  1. Web
  2. Web APIs
  3. WorkerNavigator
  4. locks

WorkerNavigator: locks property

Baseline Widely available

This feature is well established and works across many devices and browser versions. It’s been available across browsers since ⁨March 2022⁩.

Secure context: This feature is available only insecure contexts (HTTPS), in some or allsupporting browsers.

Note: This feature is only available inWeb Workers.

Thelocks read-only property oftheWorkerNavigator interface returns aLockManagerobject which provides methods for requesting a newLock object andquerying for an existingLock object.

Value

ALockManager object.

Specifications

Specification
Web Locks API
# dom-navigatorlocks-locks

Browser compatibility

Help improve MDN

Learn how to contribute

This page was last modified on byMDN contributors.


[8]ページ先頭

©2009-2025 Movatter.jp