public CrdtActor(string serviceId, string crdtId, IActorRef eventLog) { Id = serviceId + "_" + crdtId; EventLog = eventLog; this.crdtId = crdtId; this.crdt = default(TOperations).Zero; }
public PureCrdtActor(string serviceId, string crdtId, IActorRef eventLog, StabilitySettings stabilitySettings = null) { Id = serviceId + "_" + crdtId; AggregateId = typeof(TCrdt).Name + "_" + crdt; EventLog = eventLog; this.stabilitySettings = stabilitySettings; this.crdtId = crdtId; this.crdt = default(TOperations).Zero; this.rtm = !(stabilitySettings is null) ? new Rtm(stabilitySettings) : default;