Files
Just.Cqrs/src/Just.Cqrs.Abstractions/Internal/IGenericHandler.cs
JustFixMe 2fded2809f
All checks were successful
.NET Test / test (push) Successful in 13m14s
.NET Publish / publish (push) Successful in 11m1s
pipeline cache and dispatch optimizations
2025-02-04 20:49:05 +04:00

11 lines
306 B
C#

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);
}