Method FindOutstandingAsync
- Namespace
- MailFathom.Application.Rules.Evaluation
- Assembly
- MailFathom.Application.dll
FindOutstandingAsync(MailAccountId, CancellationToken)
Reads the run this account is still waiting to have carried further.
Task<MailRuleEvaluationRun?> FindOutstandingAsync(MailAccountId accountId, CancellationToken cancellationToken)
Parameters
accountIdMailAccountIdThe account to read.
cancellationTokenCancellationTokenCancels the read.
Returns
- Task<MailRuleEvaluationRun>
The outstanding run, or null when the account has none — including when the last one ended.