Method AdvanceTo
- Namespace
- MailFathom.Domain.Synchronization
- Assembly
- MailFathom.Domain.dll
AdvanceTo(ImapUid, DateTimeOffset)
Advances the checkpoint after an email has been durably stored.
public SynchronizationCheckpoint AdvanceTo(ImapUid uid, DateTimeOffset synchronizedAt)
Parameters
uidImapUidThe latest stored UID.
synchronizedAtDateTimeOffsetThe timestamp for the durable synchronization progress.
Returns
- SynchronizationCheckpoint
An advanced checkpoint.
Exceptions
- ArgumentOutOfRangeException
Thrown when
uidis older than the current checkpoint.