clearMemoizedCache

Function

Clear the cache of a memoized function If no function name is provided, the entire cache is cleared This is useful for testing, but should not be used in production

Clear the cache of a memoized function If no function name is provided, the entire cache is cleared This is useful for testing, but should not be used in production

  • clearMemoizedCache(fnName: string) : void

Parameters

Parameter Type Default Notes
fnName Optional string

Returns

void

Function defined in common/src/utils/memoize.ts:50