Resolves once the store is empty.
await clearSupplierProductDataCache();
export async function clearSupplierProductDataCache(): Promise<void> {
try {
const db = await getDB();
await db.clear(IDB_STORE.SUPPLIER_PRODUCT_DATA_CACHE);
} catch (error) {
logger.error('Failed to clear supplier product data cache from IndexedDB', { error });
}
}
Empties the supplier product-data cache.