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
objectLocatorstringThe whole key, exactly as the export's record carries it.
cancellationTokenCancellationTokenCancels opening the read.
Returns
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.