Example #1
0
 public LWWRegister(MVRegister <T> inner)
 {
     this.inner = inner;
 }
Example #2
0
            public MVRegister <T> Effect(MVRegister <T> crdt, object operation, DurableEvent e)
            {
                var op = (AssignOp)operation;

                return(crdt.Assign((T)op.Value, e.VectorTimestamp, e.SystemTimestamp, e.EmitterId));
            }
Example #3
0
 public object Prepare(MVRegister <T> crdt, object operation) => operation;
Example #4
0
 public ImmutableHashSet <T> Value(MVRegister <T> crdt) => crdt.Value;