ktor-utils / io.ktor.util.cio / Semaphore / leave

leave

fun leave(): Unit

Exits the semaphore.

If limit was reached, this will potentially resume suspended coroutines that invoked the enter method.