"use strict";
/* Socket Lib - Built with rolldown */
Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
const require_debug_output = require('../debug/output.js');
const require_memo__internal = require('./_internal.js');

//#region src/memo/clear.ts
/**
* @file `clearAllMemoizationCaches` — fan out to every per-cache clear function
*   registered in `_internal.cacheRegistry`. Useful for tests and for callers
*   that need to force recomputation across every memoize instance.
*/
/**
* Clear all memoization caches. Useful for testing or when you need to force
* recomputation.
*
* @example
*   ;```typescript
*   clearAllMemoizationCaches()
*   ```
*/
function clearAllMemoizationCaches() {
	require_debug_output.debugLog("[memoize:all] clear", { action: "clear-all-caches" });
	for (const clear of require_memo__internal.cacheRegistry) clear();
}

//#endregion
exports.clearAllMemoizationCaches = clearAllMemoizationCaches;