arrow-fx / arrow.fx.internal / AtomicRefW / getAndUpdate

getAndUpdate

fun getAndUpdate(f: (A) -> A): A

Do you like Arrow?

Arrow Org
<