Table of Contents

Method ConsumeAsync

Namespace
Neo4j.Driver
Assembly
Neo4j.Driver.dll

ConsumeAsync()

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, CancellationToken). If all records in the records stream are already consumed, then this method will return the summary directly.

Task<IResultSummary> ConsumeAsync()

Returns

Task<IResultSummary>

A task returning the result summary of the running query.