Exemplo n.º 1
0
 static async Task ProcessOrderEvents(long orderId, EventResults results)
 {
     foreach (var ev in results.Events)
     {
         Console.WriteLine($"   {ev.Verb} - {ev.CreatedAt}");
         esClient.PublishOrderEvent(ev);
     }
 }