withAcquisitionFor

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