MCPcopy Create free account
hub / github.com/pulsar-edit/pulsar / scheduleUpdate

Method scheduleUpdate

packages/git-diff/lib/git-diff-view.js:211–217  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

209 }
210
211 scheduleUpdate() {
212 // Use Chromium native requestAnimationFrame because it yields
213 // to the browser, is standard and doesn't involve extra JS overhead.
214 if (this._animationId) cancelAnimationFrame(this._animationId);
215
216 this._animationId = requestAnimationFrame(this.updateDiffs);
217 }
218
219 /**
220 * @describe Uses text markers in the target editor to visualize

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected