toggle menu
Arrow
1.2.4
common
switch theme
search in API
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.