withWriteLockFor

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