* 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)
| 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 |
nothing calls this directly
no test coverage detected