using System.Threading; using System.Threading.Tasks; namespace AsbCloudApp.IntegrationEvents.Interfaces; /// /// Обработчик событий /// /// public interface IIntegrationEventHandler where T: IIntegrationEvent { /// /// Метод обработки события /// /// /// /// Task HandleAsync(T integrationEvent, CancellationToken cancellationToken); }