Method HoldsObjectBackedContentAsync
- Namespace
- MailFathom.Application.EmailContent.Storage
- Assembly
- MailFathom.Application.dll
HoldsObjectBackedContentAsync(CancellationToken)
Gets whether any stored payload names the object backend as the store holding it.
Task<bool> HoldsObjectBackedContentAsync(CancellationToken cancellationToken)
Parameters
cancellationTokenCancellationTokenCancels the read.
Returns
Remarks
The read reaches a database that may not carry the schema this build expects, because a readiness scrape can arrive before the startup gate has proven one. An implementation lets that failure surface rather than answering false for it: a database nothing can be read from is not a deployment holding no object-backed content, and reporting the two alike would hide the first behind the second.