Table of Contents

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

session IPersistenceSession

The transaction the reading is part of.

threadId EmailThreadId

The conversation to search.

answeredIdentifier string

The identifier those messages name as the one they answer.

cancellationToken CancellationToken

Propagates caller cancellation.

Returns

Task<IReadOnlyList<ThreadedEmail>>

The messages waiting for the message that identifier names.