Kotlin Wrappers API Reference
Toggle table of contents
web
Target filter
web
Switch theme
Search in API
Skip to content
Kotlin Wrappers API Reference
kotlin-node
/
node.workerThreads
/
LockManager
/
requestAsync
request
Async
abstract
fun
<
T
>
requestAsync
(
name
:
String
,
callback
:
LockGrantedCallback
<
T
>
)
:
Promise
<
T
>
(
source
)
abstract
fun
<
T
>
requestAsync
(
name
:
String
,
options
:
LockOptions
,
callback
:
LockGrantedCallback
<
T
>
)
:
Promise
<
T
>
(
source
)