Method RetireDeletesLeftFlaggedAsync
- Assembly
- MailFathom.Application.dll
RetireDeletesLeftFlaggedAsync(IPersistenceSession, IReadOnlyList<DeleteLeftFlaggedId>, CancellationToken)
Stops following occurrences whose erased message has been stored again, or could not be.
Task RetireDeletesLeftFlaggedAsync(IPersistenceSession session, IReadOnlyList<DeleteLeftFlaggedId> ids, CancellationToken cancellationToken)
Parameters
sessionIPersistenceSessionThe explicit persistence session the retirement participates in.
idsIReadOnlyList<DeleteLeftFlaggedId>The records to retire; one already retired is not an error.
cancellationTokenCancellationTokenPropagates caller cancellation.
Returns
- Task
A task that completes when the removals have been staged.