namespace Application.Abstractions.Messaging;

/// <summary>
/// 반환값이 없는 Command Handler를 나타냅니다.
/// </summary>
/// <typeparam name="TCommand">Command 타입</typeparam>
public interface ICommandHandler<in TCommand> where TCommand : ICommand
{
    Task Handle(TCommand command, CancellationToken cancellationToken);
}