Method CountEmailsAwaitingExtractionAsync
- Namespace
- MailFathom.Application.Emails.Extraction
- Assembly
- MailFathom.Application.dll
CountEmailsAwaitingExtractionAsync(CancellationToken)
Counts the stored emails this walk still owes work on, under the configuration it is walking for.
Task<int> CountEmailsAwaitingExtractionAsync(CancellationToken cancellationToken)
Parameters
cancellationTokenCancellationTokenPropagates caller cancellation.
Returns
Remarks
Answered by the walk's own store and through the same predicate the batch query is narrowed by, so the backlog an operator watches and the work a run would actually do are one number rather than two that drift the first time either learns something about tombstones, about missing content, or about a rebuild.