Function: createSitesCacheGetter()
createSitesCacheGetter(
input:CreateSitesCacheGetterInput): () =>StandardizedCache<Site>
Defined in: electron/services/ServiceContainer.siteCacheAccessor.ts:30
Creates a defensive getSitesCache accessor.
Parameters
input
Returns
():
StandardizedCache<Site>
Returns
Remarks
MonitorManager depends on a sites cache accessor. This helper intentionally
throws if the container is in an inconsistent state (for example: a circular
dependency during bootstrap). That keeps failures loud and early rather than
failing later with confusing undefined property access.