Method DeleteSourceRemovalsAsync
- Namespace
- MailFathom.Application.Synchronization.Drain
- Assembly
- MailFathom.Application.dll
DeleteSourceRemovalsAsync(IPersistenceSession, IReadOnlyCollection<MailboxSourceRemovalId>, CancellationToken)
Deletes the source removal records whose expunge the source has answered.
Task DeleteSourceRemovalsAsync(IPersistenceSession session, IReadOnlyCollection<MailboxSourceRemovalId> removals, CancellationToken cancellationToken)
Parameters
sessionIPersistenceSessionThe transaction the deletion commits in.
removalsIReadOnlyCollection<MailboxSourceRemovalId>The records to delete.
cancellationTokenCancellationTokenPropagates caller cancellation.