MCPcopy Create free account
hub / github.com/microsoft/SandDance / singlePulse

Function singlePulse

docs/app/js/sanddance-app.js:108589–108594  ·  view source on GitHub ↗
(p, s)

Source from the content-addressed store, hash-verified

108587 return s && (0, _vegaUtil.isArray)(s) ? new MultiPulse(this, stamp, s.map((_)=>_.pulse), encode) : this._input[op.id] || singlePulse(this._pulse, s && s.pulse);
108588}
108589function singlePulse(p, s) {
108590 if (s && s.stamp === p.stamp) return s;
108591 p = p.fork();
108592 if (s && s !== StopPropagation) p.source = s.source;
108593 return p;
108594}
108595const NO_OPT = {
108596 skip: false,
108597 force: false

Callers 1

getPulseFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected