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

modifyGet

fun <B> modifyGet(f: (A) -> Pair<A, B>): IO<Pair<A, B>>