Method AssembleAsync
- Namespace
- MailFathom.Application.Emails.Threads
- Assembly
- MailFathom.Application.dll
AssembleAsync(EmailThreadId, CancellationToken)
Reads one conversation in its own order, out of the mail the caller may see.
public Task<EmailThreadContexts.AssembledThread> AssembleAsync(EmailThreadId threadId, CancellationToken cancellationToken)
Parameters
threadIdEmailThreadIdThe conversation to assemble.
cancellationTokenCancellationTokenPropagates caller cancellation.
Returns
- Task<EmailThreadContexts.AssembledThread>
The conversation's visible messages in its order, and whether more of it exists than was assembled.