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

Parameters

account MailAccountId

The account to read, by its generated identifier.

cancellationToken CancellationToken

Cancels the read.

Returns

Task<SpamClassificationRun>

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