MCPcopy Create free account
hub / github.com/cortex-js/compute-engine / invalidate

Method invalidate

src/compute-engine/engine-cache.ts:40–42  ·  view source on GitHub ↗
(cacheName: string)

Source from the content-addressed store, hash-verified

38 private _entries: Record<string, CacheEntry> = {};
39
40 getOrBuild<T>(
41 cacheName: string,
42 build: () => T,
43 purge?: (t: T) => T | undefined
44 ): T {
45 if (this._entries[cacheName] === undefined) {

Callers 4

simplificationRulesMethod · 0.80
solveRulesMethod · 0.80
harmonizationRulesMethod · 0.80
getRuleSetMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected