A Set of exclusion keys (empty on read failure).
const keys = await loadExcludedProductKeys();
if (keys.has(cacheKey)) return undefined; // skip this product
export async function loadExcludedProductKeys(): Promise<Set<string>> {
const map = await loadExcludedProducts();
return new Set(Object.keys(map));
}
Load just the set of exclusion keys — convenient for hot-path membership checks (e.g. inside
SupplierBase.getProductData) where the full metadata is not needed.