MCPcopy Index your code
hub / github.com/microsoft/SandDance / signalRef

Function signalRef

docs/app/js/sanddance-app.js:149662–149666  ·  view source on GitHub ↗
(s)

Source from the content-addressed store, hash-verified

149660 return this.signals[name];
149661 },
149662 signalRef (s) {
149663 if (this.signals[s]) return ref(this.signals[s]);
149664 else if (!(0, _vegaUtil.hasOwnProperty)(this.lambdas, s)) this.lambdas[s] = this.add(operator(null));
149665 return ref(this.lambdas[s]);
149666 },
149667 parseLambdas () {
149668 const code = Object.keys(this.lambdas);
149669 for(let i = 0, n = code.length; i < n; ++i){

Callers

nothing calls this directly

Calls 3

refFunction · 0.70
operatorFunction · 0.70
addMethod · 0.45

Tested by

no test coverage detected