nee-core / dev.neeffect.nee.atomic / AtomicRef / updateAndGet

updateAndGet

fun updateAndGet(f: (A) -> A): IO<A>