Table of Contents

Interface IStoredEmailReconciliationStore

Namespace
MailFathom.Application.Synchronization.Reconciliation
Assembly
MailFathom.Application.dll

The local state reconciliation reads to choose a window and writes once the server has answered.

public interface IStoredEmailReconciliationStore

Remarks

The two operations describe one bounded backward pass: which stored occurrences this run should ask about, and what the server said about them. They belong to one port because a caller holding only one of them could not make the pass terminate.

There is no cursor to keep. A window is chosen by how long ago each occurrence was last observed, so writing the outcome is itself what advances the pass, and a run interrupted between two windows resumes where it stopped rather than restarting or skipping.

Methods

ApplyReconciliationOutcomeAsync(IPersistenceSession, ReconciledFolderOutcome, CancellationToken)

Applies everything one window learned, as one bounded set of writes.

GetReconciliationWindowAsync(MailAccountId, MailFolderResolutionId, ImapUidValidity, int, CancellationToken)

Reads the occurrences of one folder binding that this run should ask the server about.