Method CountAsync
CountAsync(CancellationToken)
Counts the number of documents.
[Obsolete("Use CountDocumentsAsync instead.")]
public abstract Task<long> CountAsync(CancellationToken cancellationToken = default)
Parameters
cancellationToken
CancellationTokenThe cancellation token.