MCPcopy Create free account
hub / github.com/alignoth/alignoth / addSignal

Function addSignal

resources/vega.min.js:32726–32730  ·  view source on GitHub ↗
(t, e)

Source from the content-addressed store, hash-verified

32724 return ut(this.signals, t);
32725 },
32726 addSignal(t, e) {
32727 this.hasOwnSignal(t) && s("Duplicate signal name: " + Dt(t));
32728 const n = e instanceof YN ? e : this.add(VN(e));
32729 return (this.signals[t] = n);
32730 },
32731 getSignal(t) {
32732 return (
32733 this.signals[t] || s("Unrecognized signal name: " + Dt(t)),

Callers

nothing calls this directly

Calls 4

DtFunction · 0.85
VNFunction · 0.85
sFunction · 0.70
addMethod · 0.45

Tested by

no test coverage detected