Function
cachedValue
(
v: CachedValue<T>,
generation: number | undefined,
fn: () => T
)
Source from the content-addressed store, hash-verified
| 5 | type CacheEvent, |
| 6 | } from '../../common/cache-stats.js'; |
| 7 | import { |
| 8 | beginObjectDeps, |
| 9 | endObjectDeps, |
| 10 | engineHasObjects, |
| 11 | mergeObjectDeps, |
| 12 | objectDepsValid, |
| 13 | type ObjectDeps, |
| 14 | } from './object-deps.js'; |
| 15 | import { asComputation } from '../../common/computation-depth.js'; |
| 16 | import { containsObject } from './object-walk.js'; |
| 17 | import { isExpression } from './type-guards.js'; |
| 18 | import { failClosedCounts } from './store-guard.js'; |
| 19 | import { |
| 20 | forgetStackDependentAnswers, |
Tested by
no test coverage detected