arrow-fx-coroutines / arrow.fx.coroutines.stream.concurrent / SignallingAtomic / updateAndGet
suspend fun updateAndGet(f: (A) -> A): A
Modifies the current value using the supplied update function and returns the new value.
See Also
Do you like Arrow?
✖