using ZeroFramework.EventBus.Events; namespace ZeroFramework.EventBus.Abstractions { public interface IIntegrationEventHandler { } public interface IIntegrationEventHandler : IIntegrationEventHandler where TIntegrationEvent : IntegrationEvent { Task HandleAsync(TIntegrationEvent @event); } }