File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed
Neo4j.Driver/Neo4j.Driver Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -22,7 +22,6 @@ namespace Neo4j.Driver.Internal.Result;
2222
2323internal sealed class ResultCursor : IInternalResultCursor , IAsyncEnumerator < IRecord >
2424{
25- private readonly IInternalResultCursor _cursor ;
2625 private bool _isConsumed ;
2726
2827 private readonly IResultStream _resultStream ;
Original file line number Diff line number Diff line change 1515
1616using System ;
1717using System . Collections . Generic ;
18+ using System . Threading ;
1819using System . Threading . Tasks ;
1920
2021namespace Neo4j . Driver ;
@@ -23,7 +24,7 @@ namespace Neo4j.Driver;
2324/// Provides access to the result as an asynchronous stream of <see cref="IRecord"/>s. The records in the result
2425/// is lazily retrieved and could only be visited once in a sequential order.
2526/// </summary>
26- /// <remarks> Calling <see cref="ResultCursorExtensions.ToListAsync(IResultCursor)"/> will enumerate the entire stream.</remarks>
27+ /// <remarks> Calling <see cref="ResultCursorExtensions.ToListAsync(IResultCursor, CancellationToken )"/> will enumerate the entire stream.</remarks>
2728public interface IResultCursor : IAsyncEnumerable < IRecord >
2829{
2930 /// <summary>Returns the current record that has already been read via <see cref="FetchAsync"/>.</summary>
@@ -50,7 +51,7 @@ public interface IResultCursor : IAsyncEnumerable<IRecord>
5051 /// Asynchronously gets the <see cref="IResultSummary"/> after streaming the whole records to the client. If the
5152 /// records in the result are not fully consumed, then calling this method will discard all remaining records to yield the
5253 /// summary. If you want to obtain the summary without discarding the records, consider buffering the unconsumed result
53- /// using <see cref="ResultCursorExtensions.ToListAsync(IResultCursor)"/>. If all records in the records stream are already
54+ /// using <see cref="ResultCursorExtensions.ToListAsync(IResultCursor, CancellationToken )"/>. If all records in the records stream are already
5455 /// consumed, then this method will return the summary directly.
5556 /// </summary>
5657 /// <returns>A task returning the result summary of the running query.</returns>
You can’t perform that action at this time.
0 commit comments