Resolves once the store is empty.
await clearSupplierStats();
export async function clearSupplierStats(): Promise<void> {
try {
const db = await getDB();
await db.clear(IDB_STORE.SUPPLIER_STATS);
} catch (error) {
logger.error('Failed to clear supplier stats from IndexedDB', { error });
}
}
Removes all recorded supplier stats.