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

Method _reset

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

After the configuration of the engine has changed, clear the caches * so that new values can be recalculated. * * This needs to happen for example when the numeric precision changes. * * @internal

()

Source from the content-addressed store, hash-verified

591 _forwardArity?: Set<number>;
592 };
593 return {
594 r,
595 def: r.def,
596 alias: r.alias,
597 typeParams: r.typeParams,
598 varianceState: r._varianceState,
599 varianceBlockedOn: r._varianceBlockedOn,
600 declaredByStatement: r._declaredByStatement,
601 forwardArity:
602 r._forwardArity === undefined ? undefined : new Set(r._forwardArity),
603 sumOf: r._sumOf,
604 sumVariants: r._sumVariants,

Callers 3

constructorMethod · 0.95
precisionMethod · 0.95
angularUnitMethod · 0.95

Calls 3

resetCommonSymbolsFunction · 0.90
purgeValuesMethod · 0.80
resetMethod · 0.65

Tested by

no test coverage detected