public Task <SqlGetAsyncStatusResponse> GetAsyncSearchStatusAsync(Elastic.Clients.Elasticsearch.Id id, Action <SqlGetAsyncStatusRequestDescriptor> configureRequest = null, CancellationToken cancellationToken = default) { var descriptor = new SqlGetAsyncStatusRequestDescriptor(id); configureRequest?.Invoke(descriptor); descriptor.BeforeRequest(); return(DoRequestAsync <SqlGetAsyncStatusRequestDescriptor, SqlGetAsyncStatusResponse>(descriptor)); }
public SqlGetAsyncStatusResponse GetAsyncSearchStatus(Elastic.Clients.Elasticsearch.Id id, Action <SqlGetAsyncStatusRequestDescriptor> configureRequest = null) { var descriptor = new SqlGetAsyncStatusRequestDescriptor(id); configureRequest?.Invoke(descriptor); descriptor.BeforeRequest(); return(DoRequest <SqlGetAsyncStatusRequestDescriptor, SqlGetAsyncStatusResponse>(descriptor)); }