Table of Contents

Method RunAsync

Namespace
MailFathom.Application.Mail.Export
Assembly
MailFathom.Application.dll

RunAsync(CancellationToken)

Runs one bounded pass if this replica takes the sweep's lease.

public Task<int?> RunAsync(CancellationToken cancellationToken)

Parameters

cancellationToken CancellationToken

Cancels the claim and the pass.

Returns

Task<int?>

How many archives the pass deleted, or null when another replica holds the sweep.

Exceptions

PrincipalNotAuthorizedException

Thrown when anything but this deployment's own process reached the use case.