Click or drag to resize
Akka.NETInterlockedSpinSwapT Method
INTERNAL! Atomically updates the object reference by calling updater to get the new value. Note that updater may be called many times so it should be idempotent.
Remarks
Note! Part of internal API. Breaking changes may occur without notice. Use at own risk.

Namespace:  Akka.Util.Internal
Assembly:  Akka (in Akka.dll) Version: 1.2.3.129 (1.2.3.129)
Syntax
public static T Swap<T>(
	ref T reference,
	Func<T, T> updater
)
where T : class

Parameters

reference
Type: T
TBD
updater
Type: SystemFuncT, T
TBD

Type Parameters

T
TBD

Return Value

Type: T
The updated value.
See Also