Meshtastic App
Toggle table of contents
common
Target filter
common
Switch theme
Search in API
Skip to content
Meshtastic App
core-common
/
org.meshtastic.core.common.state
/
RadioOperationLock
/
withOperation
with
Operation
suspend
fun
<
T
>
withOperation
(
operation
:
RadioOperation
,
block
:
suspend
(
)
->
T
)
:
T
(
source
)
Runs
block
with
operation
held, releasing that exact lease even on failure or cancellation.