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
/
updateAndGet
update
And
Get
posix
inline
fun
<ERROR CLASS>
.
updateAndGet
(
function
:
(
Long
)
->
Long
)
:
Long
Content copied to clipboard
Updates variable atomically using the specified
function
of its value and returns its new value.