The result of a Ref
modification.
The result of a Ref
modification. previous
contains value before modification
(the value passed to modify function, f
in the call to modify(f)
. And now
is the new value computed by f
.
An asynchronous, concurrent mutable reference.
Create an asynchronous, concurrent mutable reference.
Create an asynchronous, concurrent mutable reference, initialized to a
.