KeyedMutex

open class KeyedMutex<K : Any>

Constructors

Link copied to clipboard
constructor()

Functions

Link copied to clipboard
suspend fun <T> withLock(key: K, block: suspend () -> T): T