Table of Contents

Interface IAttachmentDerivationCoverageReader

Namespace
MailFathom.Application.Emails.AttachmentText.Administration
Assembly
MailFathom.Application.dll

Counts how far attachment and image reading has come, for one account or for the whole deployment.

public interface IAttachmentDerivationCoverageReader

Remarks

A read of committed local state and nothing else. It reaches no provider and opens no message, so the numbers an operator is shown before agreeing to a spend cost nothing to produce.

One port answers both scopes because they are one query with one predicate more. A deployment administrator asks what the instance owes; an operator watching a mailbox that is not returning what they expect asks it of the account in front of them, and two implementations would let the two disagree about what "outstanding" means.

Methods

ReadCoverageAsync(MailAccountId?, CancellationToken)

Counts what attachment reading has done and what it still owes.