Table of Contents

Method EraseExpiredAsync

Namespace
MailFathom.Application.Notifications
Assembly
MailFathom.Application.dll

EraseExpiredAsync(UserId, CancellationToken)

Erases everything of one user's that has outlived the window.

public Task<int> EraseExpiredAsync(UserId user, CancellationToken cancellationToken)

Parameters

user UserId

The user whose notifications are aged.

cancellationToken CancellationToken

Cancels the erasure.

Returns

Task<int>

How many notifications were erased.