Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
keepLastIntermediateValue() {
this._assertNotYetRunning();
this.buffer = csp.buffers.sliding(1);
return this;
},
keepFirstIntermediateValue() {
this._assertNotYetRunning();
this.buffer = csp.buffers.dropping(1);
return this;
},