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