LockManager
@native @JSGlobal @JSType
The LockManager interface of the Web Locks API provides methods for requesting a new Lock object and
querying for an existing Lock object. To get an instance of LockManager, call navigator.locks
.
class Object
trait Any
class Object
trait Matchable
class Any
Value members
Concrete methods
Resolves with an object containing information about held and pending locks.
Resolves with an object containing information about held and pending locks.
def request(name: String, options: LockOptions, callback: Function1[Lock, Promise[Unit]]): Promise[Unit]