using System.Threading; using System.Threading.Tasks; namespace PoweredSoft.CQRS.Abstractions { public interface IQueryHandler where TQuery : class { Task HandleAsync(TQuery query, CancellationToken cancellationToken = default); } }