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