Table of Contents

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

uid ImapUid

The latest stored UID.

synchronizedAt DateTimeOffset

The timestamp for the durable synchronization progress.

Returns

SynchronizationCheckpoint

An advanced checkpoint.

Exceptions

ArgumentOutOfRangeException

Thrown when uid is older than the current checkpoint.