IAtomicCounterTGetAndAdd Method |
Returns the current value and adds the specified value to the counter.
Namespace: Akka.Util.InternalAssembly: Akka (in Akka.dll) Version: 0.8.0.0 (0.8.0.0)
SyntaxFunction GetAndAdd (
amount As T
) As T
abstract 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