Table of Contents

Method ClearResumePositionAsync

Namespace
MailFathom.Application.Mail.Maintenance
Assembly
MailFathom.Application.dll

ClearResumePositionAsync(IPersistenceSession, StoredMailScope, CancellationToken)

Forgets this scope's walk, which is what an invocation that reached the end of it records.

Task ClearResumePositionAsync(IPersistenceSession session, StoredMailScope scope, CancellationToken cancellationToken)

Parameters

session IPersistenceSession

The explicit persistence session this write participates in.

scope StoredMailScope

The account, and the one folder of it, whose walk has finished.

cancellationToken CancellationToken

Propagates caller cancellation.

Returns

Task

A task that completes when the write has been staged.

Remarks

A finished walk keeps no position, so asking for the same scope again re-reads it from the beginning. That is the behavior the command exists for: the next release adds another property, and the operator asks again.