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
accountMailAccountIdThe account asked about.
cancellationTokenCancellationTokenCancels the read.
Returns
- Task<MailboxExport>
The queued or running export, or null when the account has none.