You can `effect().flatMap { res -> ref.update {...
# arrow
s
You can
effect().flatMap { res -> ref.update { current -> doSomething(current, res) } }
however