Ejemplo n.º 1
0
        private void ConvergentRemove(CRDT.Application.Convergent.Set.LWW_OptimizedSetService <TestType> sourceReplica, TestType value, long timestamp, List <CRDT.Application.Convergent.Set.LWW_OptimizedSetService <TestType> > downstreamReplicas)
        {
            sourceReplica.LocalRemove(value, timestamp);

            foreach (var downstreamReplica in downstreamReplicas)
            {
                downstreamReplica.Merge(sourceReplica.State);
            }
        }