arrow-fx-coroutines / arrow.fx.coroutines / AtomicRefW
class AtomicRefW<A>
<init> | AtomicRefW(a: A) |
value | var value: A |
compareAndSet | fun compareAndSet(expect: A, update: A): Boolean |
getAndSet | fun getAndSet(a: A): A |
lazySet | fun lazySet(a: A): Unit |
toString | fun toString(): String |
updateAndGet | fun updateAndGet(function: (A) -> A): A |
Do you like Arrow?
✖