| AtomicReferenceTGetAndSet Method |
Atomically sets the
Value to
newValue and returns the old
Value.
Namespace:
Akka.Util
Assembly:
Akka (in Akka.dll) Version: 1.2.3.129 (1.2.3.129)
Syntax public T GetAndSet(
T newValue
)
member GetAndSet :
newValue : 'T -> 'T
Parameters
- newValue
- Type: T
The new value
Return Value
Type:
TThe old value
See Also