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
draftIdMailDraftIdThe draft to read.
cancellationTokenCancellationTokenCancels the read.
Returns
- Task<MailDraftRecord>
The draft, or null when none is held.