Kotlin Wrappers API Reference
Toggle table of contents
common
Platform filter
common
Switch theme
kotlin-browser
/
web.locks
/
LockManager
/
requestAsync
request
Async
fun
<
T
:
JsAny
?
>
requestAsync
(
name
:
String
,
callback
:
LockGrantedCallback
<
T
>
)
:
Promise
<
T
>
(
source
)
fun
<
T
:
JsAny
?
>
requestAsync
(
name
:
String
,
options
:
LockOptions
,
callback
:
LockGrantedCallback
<
T
>
)
:
Promise
<
T
>
(
source
)