Full removal of SourceGen Meditor. Will revisit in good time.
This commit is contained in:
@@ -0,0 +1,8 @@
|
||||
namespace Toolkit.Framework.Foundation;
|
||||
|
||||
public interface ICommandHandler<in TCommand> : ICommandHandler<TCommand, Unit> where TCommand : ICommand<Unit> { }
|
||||
|
||||
public interface ICommandHandler<in TCommand, TResponse> where TCommand : ICommand<TResponse>
|
||||
{
|
||||
ValueTask<TResponse> Handle(TCommand command, CancellationToken cancellationToken);
|
||||
}
|
||||
Reference in New Issue
Block a user