arrow-fx / arrow.fx / Ref / set
abstract fun set(a: A): Kind<F, Unit>
abstract fun set(a: A): Kind<F,
Unit
>
Sets the current value to a. The returned action completes after the reference has been successfully set.
Do you like Arrow?