Method FindResumePositionAsync
- Namespace
- MailFathom.Application.Emails.Extraction
- Assembly
- MailFathom.Application.dll
FindResumePositionAsync(CancellationToken)
Reads the position the last committed batch reached, or nothing when the backfill has never run.
Task<StoredEmailId?> FindResumePositionAsync(CancellationToken cancellationToken)
Parameters
cancellationTokenCancellationTokenPropagates caller cancellation.
Returns
- Task<StoredEmailId?>
The identity of the last email a committed batch processed, or null.