arrow-fx-coroutines / arrow.fx.coroutines.stream.concurrent / SignallingAtomic / setAndGet
suspend fun setAndGet(a: A): A
Replaces the current value with a, returning the new value.
Do you like Arrow?