ktor
1.6.8
3.0.0-beta-1
2.3.8
2.3.7
2.3.6
2.3.3
2.3.2
2.3.1
2.3.0
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