wip
This commit is contained in:
@@ -0,0 +1,15 @@
|
||||
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);
|
||||
}
|
||||
Reference in New Issue
Block a user