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

tryUpdate

fun tryUpdate(f: (A) -> A): IO<Boolean>