Resolves once the store is empty.
await clearSupplierQueryCache();
export async function clearSupplierQueryCache(): Promise<void> {
try {
const db = await getDB();
await db.clear(IDB_STORE.SUPPLIER_QUERY_CACHE);
} catch (error) {
logger.error('Failed to clear supplier query cache from IndexedDB', { error });
}
}
Empties the supplier query cache, forcing the next search to refetch.