arrow-fx-coroutines
1.1.3-alpha.24
common
arrow-fx-coroutines
/
arrow.fx.coroutines
/
Atomic
/
tryUpdate
try
Update
common
abstract
suspend
fun
tryUpdate
(
f
:
(
A
)
->
A
)
:
Boolean
Content copied to clipboard
Attempts to modify the current value once, in contrast to
update
which calls
f
until it succeeds.