Table of Contents

Interface IStoredThreadStateReader

Namespace
MailFathom.Application.Emails.ThreadStates
Assembly
MailFathom.Application.dll

Reads the state that was derived about one conversation.

public interface IStoredThreadStateReader

Remarks

The port is read-only and joins no transaction, per ADR 0001.

A read beside the conversation rather than a join onto it, for the reason a message's marks are one: the state lives in tables of its own, it is sparse — a deployment with the derivation off has none at all — and reaching it by identity keeps the thread query the bounded projection it was.

Methods

ReadStateAsync(EmailThreadId, MailboxScope, CancellationToken)

Reads the state of one conversation the scope admits.