Table of Contents

Method FindAsync

Namespace
MailFathom.Application.Spam
Assembly
MailFathom.Application.dll

FindAsync(StoredEmailId, CancellationToken)

Finds one stored occurrence.

Task<ClassifiableEmail?> FindAsync(StoredEmailId emailId, CancellationToken cancellationToken)

Parameters

emailId StoredEmailId

The stable local identifier.

cancellationToken CancellationToken

Cancels the lookup.

Returns

Task<ClassifiableEmail>

The occurrence, or null when nothing is stored under that identifier.

Remarks

An absent occurrence is an ordinary answer: mail can be expunged between the moment classification was asked for and the moment it runs, and that is the message leaving rather than a failure to report.