elsa-core/src/modules/Elsa.Mediator/Contracts/INotificationHandler.cs

10 lines
248 B
C#

namespace Elsa.Mediator.Contracts;
public interface INotificationHandler
{
}
public interface INotificationHandler<in T> : INotificationHandler where T : INotification
{
Task HandleAsync(T notification, CancellationToken cancellationToken);
}