Exemplo n.º 1
0
 public Option <T> Value(LWWRegister <T> crdt) => crdt.Value;
Exemplo n.º 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));
            }
Exemplo n.º 3
0
 public object Prepare(LWWRegister <T> crdt, object operation) => operation;