Interface IStoredContentMoveRunStore
- Namespace
- MailFathom.Application.EmailContent.Move
- Assembly
- MailFathom.Application.dll
Keeps the one move a deployment may have, from the request that asked for it to the counts it ended with.
public interface IStoredContentMoveRunStore
Remarks
Separate from IStoredContentMoveStore, which is the walk over the content itself. The two answer different questions: this is what an operator started, paused, and comes back to read, and it survives its own ending so that a finished move and a move nobody ever asked for are not the same silence.
Methods
- FindAsync(CancellationToken)
Reads the move this deployment last had, whether it is running, paused, or finished.
- 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.