Table of Contents

Method AppendAsync

Namespace
MailFathom.Application.Retrieval.AskMail.Audit
Assembly
MailFathom.Application.dll

AppendAsync(IPersistenceSession, MailAnsweringAuditEntry, CancellationToken)

Appends one entry to the record.

Task AppendAsync(IPersistenceSession session, MailAnsweringAuditEntry entry, CancellationToken cancellationToken)

Parameters

session IPersistenceSession

The session the append is staged in.

entry MailAnsweringAuditEntry

The entry to keep.

cancellationToken CancellationToken

Cancels the staging.

Returns

Task

A task that completes once the append is staged.

Remarks

An entry whose run and account are already in the record is left alone rather than duplicated, so a retried append after a commit whose answer was lost keeps one entry per run per account.