This commit is contained in:
TheXamlGuy
2024-04-30 20:46:47 +01:00
parent b89f21b3ca
commit 7dfbb91762
3 changed files with 4 additions and 9 deletions
-15
View File
@@ -1,15 +0,0 @@
namespace Toolkit.Foundation;
public interface IPipelineBehaviour<TMessage, TResponse>
{
Task<TResponse> Handle(TMessage message,
HandlerDelegate<TMessage, TResponse> next,
CancellationToken cancellationToken = default);
}
public interface IPipelineBehaviour<TMessage>
{
Task Handle(TMessage message,
NotificationHandlerDelegate<TMessage> next,
CancellationToken cancellationToken = default);
}