Table of Contents

Method MoveNextAsync

Namespace
MongoDB.Driver
Assembly
MongoDB.Driver.Core.dll

MoveNextAsync(CancellationToken)

Moves to the next batch of documents.

Task<bool> MoveNextAsync(CancellationToken cancellationToken = default)

Parameters

cancellationToken CancellationToken

The cancellation token.

Returns

Task<bool>

A Task whose result indicates whether any more documents are available.