Table of Contents

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

cancellationToken CancellationToken

Cancels the read.

Returns

Task<bool>

true when at least one payload of any kind is held in object storage.

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.