 | IAtomicCounterTGetAndAdd Method |
Returns the current value and adds the specified value to the counter.
Namespace:
Akka.Util.Internal
Assembly:
Akka (in Akka.dll) Version: 1.2.3.42 (1.2.3.42)
Syntaxabstract GetAndAdd :
amount : 'T -> 'T
Parameters
- amount
- Type: T
The amount to add to the counter.
Return Value
Type:
TThe original value before additions.
See Also