Table of Contents

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 accountId, CancellationToken cancellationToken)

Parameters

accountId MailAccountId

The account to read.

cancellationToken CancellationToken

Cancels the read.

Returns

Task<SpamClassificationRun>

The outstanding run, or null when the account has none — including when the last one ended.