zeroframework/BuildingBlocks/EventBus/ZeroFramework.EventBus/Abstractions/IIntegrationEventHandler.cs
2023-12-05 17:22:48 +08:00

11 lines
343 B
C#

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