Table of Contents

Method MoveNextAsync

Namespace
MongoDB.Driver
Assembly
MongoDB.Driver.dll

MoveNextAsync(CancellationToken)

Moves to the next batch of documents.

public Task<bool> MoveNextAsync(CancellationToken cancellationToken)

Parameters

cancellationToken CancellationToken

The cancellation token.

Returns

Task<bool>

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