public virtual async Task <Response <IReadOnlyList <T> > > QueryAsync <T>(string workspaceId, string query, CancellationToken cancellationToken = default) { Response <LogsQueryResult> response = await QueryAsync(workspaceId, query, cancellationToken).ConfigureAwait(false); return(Response.FromValue(RowBinder.BindResults <T>(response), response.GetRawResponse())); }
public virtual Response <IReadOnlyList <T> > Query <T>(string workspaceId, string query, CancellationToken cancellationToken = default) { Response <LogsQueryResult> response = Query(workspaceId, query, cancellationToken); return(Response.FromValue(RowBinder.BindResults <T>(response), response.GetRawResponse())); }