Table of Contents

Method SaveAsync

Namespace
MailFathom.Application.EmailContent.Move
Assembly
MailFathom.Application.dll

SaveAsync(IPersistenceSession, StoredContentMoveRun, CancellationToken)

Stages the move — the request that started it, a pass's progress, or an operator's decision — in the session it commits through.

Task SaveAsync(IPersistenceSession session, StoredContentMoveRun run, CancellationToken cancellationToken)

Parameters

session IPersistenceSession

The explicit persistence session this write participates in.

run StoredContentMoveRun

The move as it stands.

cancellationToken CancellationToken

Propagates caller cancellation.

Returns

Task

A task that completes once the write is staged in the session.

Remarks

One move per deployment, so this replaces whatever the deployment last had rather than appending. Committing a pass's counts with the position they were reached at is what keeps the record and the walk from disagreeing about how far the move has come.