release

fun STM.release()(source)

Releases a permit within an STM transaction. Will not exceed maxPermits.