Definition
Web Locks API defines LockManager
[SecureContext, Exposed=(Window,Worker,SharedStorageWorklet)]
interface LockManager {
Promise<any> request(DOMString name,
LockGrantedCallback callback);
Promise<any> request(DOMString name,
LockOptions options,
LockGrantedCallback callback);
Promise<LockManagerSnapshot> query();
};
Methods and attributes that return objects implementing LockManager
Referring IDL interfaces/dictionaries
Referring specifications
- Extending Storage Access API (SAA) to non-cookie storage refers to
LockManager