withHold

suspend fun <T> withHold(block: suspend () -> T): T

Suspend-friendly acquireHold: holds for the duration of block.