Arrow
1.1.5
common
arrow-core
/
arrow.core.continuations
/
updateAndGet
update
And
Get
inline
fun
<
V
>
AtomicRef
<
V
>
.
updateAndGet
(
function
:
(
V
)
->
V
)
:
V
(
source
)
Updates variable atomically using the specified
function
of its value and returns its new value.