pipeline cache and dispatch optimizations
This commit is contained in:
10
src/Just.Cqrs.Abstractions/Internal/IGenericHandler.cs
Normal file
10
src/Just.Cqrs.Abstractions/Internal/IGenericHandler.cs
Normal file
@@ -0,0 +1,10 @@
|
||||
namespace Just.Cqrs.Internal;
|
||||
|
||||
/// <summary>
|
||||
/// Marker interface for static type checking. Should not be used directly.
|
||||
/// </summary>
|
||||
public interface IGenericHandler<TRequest, TResponse>
|
||||
where TRequest : notnull
|
||||
{
|
||||
ValueTask<TResponse> Handle(TRequest request, CancellationToken cancellation);
|
||||
}
|
||||
Reference in New Issue
Block a user