ktor
2.0.3
3.0.0
3.0.0-rc-1
3.0.0-beta-2
3.0.0-beta-1
2.3.12
2.2.4
2.0.3
1.6.8
jvm
ktor-utils
/
io.ktor.util.cio
/
Semaphore
Semaphore
jvm
class
Semaphore
(
limit
:
Int
)
Content copied to clipboard
Functions
Properties
Functions
acquire
Link copied to clipboard
jvm
suspend
fun
acquire
(
)
Content copied to clipboard
enter
Link copied to clipboard
jvm
suspend
fun
enter
(
)
Content copied to clipboard
leave
Link copied to clipboard
jvm
fun
leave
(
)
Content copied to clipboard
release
Link copied to clipboard
jvm
fun
release
(
)
Content copied to clipboard
Properties
limit
Link copied to clipboard
jvm
val
limit
:
Int
Content copied to clipboard