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
accountIdMailAccountIdThe account owning the folder.
folderResolutionIdMailFolderResolutionIdThe alias binding whose progress is read.
cancellationTokenCancellationTokenCancels 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.