Table of Contents

Method ReadCoverageAsync

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

ReadCoverageAsync(MailAccountId?, CancellationToken)

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

Task<AttachmentDerivationCoverage> ReadCoverageAsync(MailAccountId? account, CancellationToken cancellationToken)

Parameters

account MailAccountId?

The account to count, or null to count every account together.

cancellationToken CancellationToken

Cancels the counting.

Returns

Task<AttachmentDerivationCoverage>

The coverage, which reports nothing outstanding for a scope holding no mail with attachments.

Remarks

Unbounded aggregates over a mailbox's attachment readings, so it is asked once per operator command or status request rather than per unit of work.