Table of Contents

Method FindResumePositionAsync

Namespace
MailFathom.Application.Mail.Maintenance
Assembly
MailFathom.Application.dll

FindResumePositionAsync(StoredMailScope, CancellationToken)

Reads the position the last committed batch of this scope's walk reached.

Task<StoredEmailId?> FindResumePositionAsync(StoredMailScope scope, CancellationToken cancellationToken)

Parameters

scope StoredMailScope

The account, and the one folder of it, being walked.

cancellationToken CancellationToken

Propagates caller cancellation.

Returns

Task<StoredEmailId?>

The identity of the last email a committed batch processed, or null when this scope's walk has not started.