zeroframework/BuildingBlocks/EventBus/ZeroFramework.EventBus/Abstractions/IIntegrationEventHandler.cs

11 lines
343 B
C#
Raw Normal View History

2023-12-05 09:22:48 +00:00
using ZeroFramework.EventBus.Events;
namespace ZeroFramework.EventBus.Abstractions
{
public interface IIntegrationEventHandler { }
public interface IIntegrationEventHandler<in TIntegrationEvent> : IIntegrationEventHandler where TIntegrationEvent : IntegrationEvent
{
Task HandleAsync(TIntegrationEvent @event);
}
}