Method FindResumePositionAsync
- Namespace
- MailFathom.Application.Emails.Embeddings.Backfill
- Assembly
- MailFathom.Application.dll
FindResumePositionAsync(CancellationToken)
Reads the position the current sweep has reached, or nothing when a sweep is about to start.
Task<StoredEmailId?> FindResumePositionAsync(CancellationToken cancellationToken)
Parameters
cancellationTokenCancellationTokenPropagates caller cancellation.
Returns
- Task<StoredEmailId?>
The identity of the last message this sweep processed, or null to start at the beginning.