ktor
1.6.x
Select version
3.3.x
3.2.x
3.1.x
3.0.x
2.3.x
2.2.x
2.0.x
1.6.x
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