We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f7264a6 commit 8b58b34Copy full SHA for 8b58b34
src/Apache.IoTDB/DataStructure/SessionDataSet.cs
@@ -122,7 +122,7 @@ public bool HasNext()
122
// we have consumed all current data, fetch some more
123
if (!_timeBuffer.HasRemaining())
124
{
125
- if (!FetchResults())
+ if (FetchResults())
126
127
return false;
128
}
@@ -250,7 +250,9 @@ private bool FetchResults()
250
};
251
try
252
253
- var resp = await myClient.ServiceClient.fetchResultsAsync(req);
+ var task = myClient.ServiceClient.fetchResultsAsync(req);
254
+
255
+ var resp = task.ConfigureAwait(false).GetAwaiter().GetResult();
256
257
if (resp.HasResultSet)
258
0 commit comments