public async Task HandleAsync(T evt, IEventActions eventActions) { try { AddTelemetryProperties(evt); await ProcessAsync(evt, eventActions).ConfigureAwait(false); if (evt is ICorrelationEvent correlationEvent) { await _correlationEventHandler.Handle(correlationEvent).ConfigureAwait(false); } } catch (Exception ex) { _exceptionLogger.Log(ex); throw; } }
public abstract Task ProcessAsync(T evt, IEventActions eventActions);