Beispiel #1
0
 private static void OnDomainEventError(Guid queueId, EventErrorException ex)
 {
     if (_futures.TryRemove(queueId, out var future))
     {
         future.SetError(ex);
     }
 }
Beispiel #2
0
 public static void OnError(Guid queueId, EventErrorException ex)
 {
     if (Error != null)
     {
         Error(queueId, ex);
     }
 }