withLockFor

inline suspend fun <Key, Result> KoneMutualMultiExclusion<Key>.withLockFor(key: Key, action: () -> Result): Result(source)