swap-vals!
(swap-vals! atom f x...)
swap!, answering [old new]: the value f was applied to and the value stored. The
same retry loop, validator and watches. Works as a function value.
[1 11]
11
(swap-vals! atom f x...)
swap!, answering [old new]: the value f was applied to and the value stored. The
same retry loop, validator and watches. Works as a function value.
[1 11]
11