Click or drag to resize
Akka.NETDslUpdateT Method (IKeyT, IWriteConsistency, FuncT, T)
Constructs a message that, when send to Replicator, will perform an update of a structure stored under provided key. Update operation is described by modify function, that will take a previous value as an input parameter. An consistency level may be provided to set up certain constraints on retrieved IUpdateResponse replied from replicator as a result.

Namespace:  Akka.DistributedData
Assembly:  Akka.DistributedData (in Akka.DistributedData.dll) Version: 1.2.3.42 (1.2.3.42)
Syntax
public static Update Update<T>(
	IKey<T> key,
	IWriteConsistency consistency,
	Func<T, T> modify
)
where T : IReplicatedData

Parameters

key
Type: Akka.DistributedDataIKeyT
Key under which a value should be updated.
consistency
Type: Akka.DistributedDataIWriteConsistency
Consistency determining how/when response will be emitted.
modify
Type: SystemFuncT, T
An updating function.

Type Parameters

T
Replicated data type.

Return Value

Type: Update
TBD
See Also