Table of Contents

Method GetCheckpointAsync

Namespace
MailFathom.Application.Synchronization.Checkpoints
Assembly
MailFathom.Application.dll

GetCheckpointAsync(MailAccountId, MailFolderResolutionId, CancellationToken)

Gets the last durable checkpoint for one alias binding.

Task<SynchronizationCheckpoint?> GetCheckpointAsync(MailAccountId accountId, MailFolderResolutionId folderResolutionId, CancellationToken cancellationToken)

Parameters

accountId MailAccountId

The account owning the folder.

folderResolutionId MailFolderResolutionId

The alias binding whose progress is read.

cancellationToken CancellationToken

Cancels the lookup.

Returns

Task<SynchronizationCheckpoint>

The durable progress, or null when the binding has never been synchronized.

Remarks

Progress belongs to a binding rather than to an alias, so a repointed alias reads no checkpoint at all and its new remote folder is synchronized from its first UID.