Method FindOutstandingAsync
- Namespace
- MailFathom.Application.Spam.Runs
- Assembly
- MailFathom.Application.dll
FindOutstandingAsync(MailAccountId, CancellationToken)
Reads the run this account is still waiting to have carried further.
Task<SpamClassificationRun?> FindOutstandingAsync(MailAccountId account, CancellationToken cancellationToken)
Parameters
accountMailAccountIdThe account to read, by its generated identifier.
cancellationTokenCancellationTokenCancels the read.
Returns
- Task<SpamClassificationRun>
The outstanding run, or null when the account has none — including when the last one ended.