Kone
Toggle table of contents
common
Target filter
common
Switch theme
Search in API
Skip to content
Kone
kone.coroutinesMutexes
/
dev.lounres.kone.coroutinesMutexes
/
withLockFor
with
Lock
For
inline suspend
fun
<
Key
,
Result
>
KoneMutualMultiExclusion
<
Key
>
.
withLockFor
(
key
:
Key
,
action
:
(
)
->
Result
)
:
Result
(
source
)