request
inline suspend fun <T : JsAny?> LockManager.request(name: String, noinline callback: LockGrantedCallback<T>): T(source)
The request()
method of the LockManager interface requests a Lock object with parameters specifying its name and characteristics.
inline suspend fun <T : JsAny?> LockManager.request(name: String, options: LockOptions, noinline callback: LockGrantedCallback<T>): T(source)