Method FindUnplacedAnswersAsync
- Namespace
- MailFathom.Application.Emails.Threads
- Assembly
- MailFathom.Application.dll
FindUnplacedAnswersAsync(IPersistenceSession, EmailThreadId, string, CancellationToken)
Reads the messages of one conversation that answer an identifier and hang from nothing yet.
Task<IReadOnlyList<ThreadedEmail>> FindUnplacedAnswersAsync(IPersistenceSession session, EmailThreadId threadId, string answeredIdentifier, CancellationToken cancellationToken)
Parameters
sessionIPersistenceSessionThe transaction the reading is part of.
threadIdEmailThreadIdThe conversation to search.
answeredIdentifierstringThe identifier those messages name as the one they answer.
cancellationTokenCancellationTokenPropagates caller cancellation.
Returns
- Task<IReadOnlyList<ThreadedEmail>>
The messages waiting for the message that identifier names.