MCPcopy
hub / github.com/josdejong/mathjs / recreateFactory

Function recreateFactory

src/constants.js:126–130  ·  view source on GitHub ↗
(name, dependencies, create)

Source from the content-addressed store, hash-verified

124// helper function to create a factory with a flag recreateOnConfigChange
125// idea: allow passing optional properties to be attached to the factory function as 4th argument?
126function recreateFactory (name, dependencies, create) {
127 return factory(name, dependencies, create, {
128 recreateOnConfigChange: true
129 })
130}

Callers 1

constants.jsFile · 0.85

Calls 1

factoryFunction · 0.90

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…