Table of Contents

Method FindAsync

Namespace
MailFathom.Application.Mail.Delivery.Drafts
Assembly
MailFathom.Application.dll

FindAsync(MailDraftId, CancellationToken)

Reads one draft with its copies, or answers that nothing is held under that identifier.

Task<MailDraftRecord?> FindAsync(MailDraftId draftId, CancellationToken cancellationToken)

Parameters

draftId MailDraftId

The draft to read.

cancellationToken CancellationToken

Cancels the read.

Returns

Task<MailDraftRecord>

The draft, or null when none is held.