Run a function inside a fresh memo scope.
Use this in scripts and unit tests to give memoized functions a cache lifetime. Nested scopes start empty; an active recorder is inherited so instrumentation keeps flowing.
Run a function inside a fresh memo scope.
Use this in scripts and unit tests to give memoized functions a cache lifetime. Nested scopes start empty; an active recorder is inherited so instrumentation keeps flowing.