Arrow
1.1.5
common
arrow-fx-coroutines
/
arrow.fx.coroutines
/
Atomic
/
getAndSet
get
And
Set
abstract
suspend
fun
getAndSet
(
a
:
A
)
:
A
(
source
)
Replaces the current value with
a
, returning the
old
value.