Interface ISynchronizationFreshnessReader
- Namespace
- MailFathom.Application.Synchronization.Checkpoints
- Assembly
- MailFathom.Application.dll
Reads how current the local copy of each folder in a mailbox scope is.
public interface ISynchronizationFreshnessReader
Remarks
The port exists separately from the readers that return mail because freshness is a property of synchronization rather than of any one query: every read model attaches it, and each of them would otherwise re-derive it from the same durable checkpoints. Implementations join no transaction and mutate nothing.
Methods
- ReadAsync(MailboxScope, CancellationToken)
Reads one freshness entry per folder the scope covers.