WebIDLpedia

Lock interface

Definition

Web Locks API defines Lock



[SecureContext, Exposed=(Window,Worker,SharedStorageWorklet)]
interface Lock {
  readonly attribute DOMString name;
  readonly attribute LockMode mode;
};