예제 #1
0
 public Option <T> Value(LWWRegister <T> crdt) => crdt.Value;
예제 #2
0
            public LWWRegister <T> Effect(LWWRegister <T> crdt, object operation, DurableEvent e)
            {
                var op = (AssignOp)operation;

                return(crdt.Assign((T)op.Value, e.VectorTimestamp, e.SystemTimestamp, e.EmitterId));
            }
예제 #3
0
 public object Prepare(LWWRegister <T> crdt, object operation) => operation;