11 lines
343 B
C#
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);
|
|
}
|
|
} |