| 1 | namespace Aptabase.Features.Stats; |
| 2 | |
| 3 | public interface IQueryClient |
| 4 | { |
| 5 | Task<IEnumerable<T>> NamedQueryAsync<T>(string name, object args, CancellationToken cancellationToken); |
| 6 | Task<T> NamedQuerySingleAsync<T>(string name, object args, CancellationToken cancellationToken) where T : new(); |
| 7 | Task<Stream> StreamResponseAsync(string query, CancellationToken cancellationToken); |
| 8 | } |