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