Table of Contents

Method FindAsync

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

FindAsync(StoredEmailId, CancellationToken)

Finds the classification recorded for one occurrence.

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

Parameters

emailId StoredEmailId

The occurrence to read.

cancellationToken CancellationToken

Cancels the lookup.

Returns

Task<SpamClassification>

The classification, or null when the occurrence has never been classified.