Table of Contents

Method OpenReadAsync

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

OpenReadAsync(string, CancellationToken)

Opens the finished archive for reading, so any replica can serve it.

Task<Stream?> OpenReadAsync(string objectLocator, CancellationToken cancellationToken)

Parameters

objectLocator string

The whole key, exactly as the export's record carries it.

cancellationToken CancellationToken

Cancels opening the read.

Returns

Task<Stream>

The stream, or null when the store holds no object under that key.

Remarks

An absent object is answered rather than raised, because the record saying an archive exists and the store not holding it is a finding the caller grades rather than a transport failure.