Companion

object Companion

Functions

Link copied to clipboard
operator fun invoke(scope: CoroutineScope, permits: Int, leaseTime: Duration? = null): AsyncSemaphore<Int>

Returns an instance of an AsyncSemaphore with the specified number of permits.