Table of Contents

Method RunAsync

Namespace
MailFathom.Application.Reminders
Assembly
MailFathom.Application.dll

RunAsync(CancellationToken)

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

public Task<int?> RunAsync(CancellationToken cancellationToken)

Parameters

cancellationToken CancellationToken

Cancels the claim and the pass.

Returns

Task<int?>

How many reminders the pass announced, or null when another replica holds the pass.

Exceptions

PrincipalNotAuthorizedException

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