Table of Contents

Method FindInFlightAsync

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

FindInFlightAsync(MailAccountId, CancellationToken)

Reads the export this account already has being written, where it has one.

Task<MailboxExport?> FindInFlightAsync(MailAccountId account, CancellationToken cancellationToken)

Parameters

account MailAccountId

The account asked about.

cancellationToken CancellationToken

Cancels the read.

Returns

Task<MailboxExport>

The queued or running export, or null when the account has none.