WebIDLpedia

LockManager interface

Definition

Web Locks API defines LockManager



[SecureContext, Exposed=(Window,Worker)]
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