Click or drag to resize

IResultCursorConsumeAsync Method

Asynchronously gets the IResultSummary after streaming the whole records to the client. If the records in the result are not fully consumed, then calling this method will discard all remaining records to yield the summary. If you want to obtain the summary without discarding the records, consider buffering the unconsumed result using ToListAsync(IResultCursor). If all records in the records stream are already consumed, then this method will return the summary directly.

Namespace:  Neo4j.Driver
Assembly:  Neo4j.Driver (in Neo4j.Driver.dll) Version: 4.1.0
Syntax
Task<IResultSummary> ConsumeAsync()

Return Value

Type: TaskIResultSummary
A task returning the result summary of the running query.
See Also