Liking cljdoc? Tell your friends :D
ClojureScript only.

web.locks.LockManager

The LockManager interface of the the Web Locks API provides methods requesting a new web.locks.Lock object and querying for an Lock object. To get an instance of LockManager, call navigator.locks.

The LockManager interface of the the Web Locks API provides methods
requesting a new `web.locks.Lock` object and querying for an
Lock object. To get an instance of LockManager, call `navigator.locks`.
raw docstring

querycljs

(query this)

Method.

The query() method of the web.locks.LockManager interface returns js.Promise which resolves with an object containing information held and pending locks.

var promise<LockManagerSnapshot> = LockManager.query()

See also: https://developer.mozilla.org/en-US/docs/Web/API/LockManager/query

Method.

The query() method of the `web.locks.LockManager` interface returns
`js.Promise` which resolves with an object containing information
held and pending locks.

`var promise<LockManagerSnapshot> = LockManager.query()`

See also: `https://developer.mozilla.org/en-US/docs/Web/API/LockManager/query`
sourceraw docstring

requestcljs

(request this & args)

Method.

The request() method of the web.locks.LockManager interface a web.locks.Lock object with parameters specifying its name characteristics. The requested Lock is passed to a callback, the function itself returns a js.Promise that resolves with

LockManager.request(var promise = name[, {options}], callback)

See also: https://developer.mozilla.org/en-US/docs/Web/API/LockManager/request

Method.

The request() method of the `web.locks.LockManager` interface
a `web.locks.Lock` object with parameters specifying its name
characteristics. The requested Lock is passed to a callback,
the function itself returns a `js.Promise` that resolves with

`LockManager.request(var promise = name[, {options}], callback)`

See also: `https://developer.mozilla.org/en-US/docs/Web/API/LockManager/request`
sourceraw docstring

cljdoc is a website building & hosting documentation for Clojure/Script libraries

× close