예제 #1
0
 private static void UpdateStreamRevision(Dictionary <string, long> streamRevisions, SerializedEvent next, long currentRevision)
 {
     if (!streamRevisions.TryGetValue(next.Stream, out var maxRevision) || maxRevision < currentRevision)
     {
         streamRevisions[next.Stream] = next.StreamRevision;
     }
 }