ktor
1.6.8
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
posix
ktor-utils
/
io.ktor.util.collections
/
loop
loop
posix
inline
fun
<ERROR CLASS>
.
loop
(
action
:
(
Long
)
->
Unit
)
:
Nothing
Content copied to clipboard
Infinite loop that reads this atomic variable and performs the specified
action
on its value.
inline
fun
<
T
>
<ERROR CLASS>
<
T
>
.
loop
(
action
:
(
T
)
->
Unit
)
:
Nothing
Content copied to clipboard