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

Method getSequenceCache

src/compute-engine/index.ts:1435–1437  ·  view source on GitHub ↗

* Get the memoization cache for a sequence. * Returns a Map of index → value, or `undefined` if not a sequence or memoization is disabled. * * For single-index sequences, keys are numbers. * For multi-index sequences, keys are comma-separated strings (e.g., '5,2').

(name: string)

Source from the content-addressed store, hash-verified

1433 /** The source of the `id` of an assumption record. Monotone for the
1434 * lifetime of the engine, so two assertions of the same normalized fact
1435 * never share an id.
1436 * @internal */
1437 _nextFactId(): number {
1438 this._factIdCounter += 1;
1439 return this._factIdCounter;
1440 }

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected