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

Function run

docs/app/js/sanddance-app.js:107646–107654  ·  view source on GitHub ↗

* Run this operator for the current pulse. If this operator has already * been run at (or after) the pulse timestamp, returns StopPropagation. * Internally, this method calls evaluate to perform processing. * If evaluate returns a falsy value, the input pulse is returned.

(pulse3)

Source from the content-addressed store, hash-verified

107644 * @param {Pulse} pulse - the current dataflow pulse.
107645 * @return the output pulse for this operator (or StopPropagation)
107646 */ run (pulse3) {
107647 if (pulse3.stamp < this.stamp) return pulse3.StopPropagation;
107648 let rv;
107649 if (this.skip()) {
107650 this.skip(false);
107651 rv = 0;
107652 } else rv = this.evaluate(pulse3);
107653 return this.pulse = rv || pulse3;
107654 }
107655};
107656/**
107657 * Add an operator to the dataflow graph. This function accepts a

Callers

nothing calls this directly

Calls 1

reentrantFunction · 0.70

Tested by

no test coverage detected