private void MakeSnapshot() { Task.Run(() => { List <ulong> versions; int mutationCount; var snapshot = CreateState(MaxDetalizationLevel, out versions, out mutationCount); repo.PushSnapshot(Resource, snapshot, versions); }); }
private void MakeSnapshot() { repo.PushSnapshot(Resource, State, Version); OnSnapshotPushed?.Invoke(State); }