Click or drag to resize
Akka.NETLWWRegisterTWithValue Method
Change the value of the register. You can provide your clock implementation instead of using timestamps based on DateTime.UtcNow.Ticks time. The timestamp can for example be an increasing version number from a database record that is used for optimistic concurrency control.

Namespace:  Akka.DistributedData
Assembly:  Akka.DistributedData (in Akka.DistributedData.dll) Version: 1.2.3.42 (1.2.3.42)
Syntax
public LWWRegister<T> WithValue(
	UniqueAddress node,
	T value,
	Clock<T> clock = null
)

Parameters

node
Type: Akka.ClusterUniqueAddress
TBD
value
Type: T
TBD
clock (Optional)
Type: Akka.DistributedDataClockT
TBD

Return Value

Type: LWWRegisterT
TBD
See Also