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 b4865fc commit 84b0ea9Copy full SHA for 84b0ea9
Neo4j.Driver/Neo4j.Driver/Internal/Driver.cs
@@ -156,7 +156,7 @@ CancellationToken cancellationToken
156
{
157
async Task<int> Process(IAsyncEnumerable<IRecord> records)
158
159
- await foreach (var record in records.ConfigureAwait(false))
+ await foreach (var record in records.ConfigureAwait(false).WithCancellation(cancellationToken))
160
161
streamProcessor(record);
162
}
0 commit comments