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