MCPcopy
hub / github.com/webpack/webpack / updateThrottled

Method updateThrottled

lib/ProgressPlugin.js:350–352  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

348 let lastUpdate = 0;
349
350 const updateThrottled = () => {
351 if (lastUpdate + 500 < Date.now()) update();
352 };
353
354 const update = () => {
355 /** @type {string[]} */

Callers

nothing calls this directly

Calls 1

updateFunction · 0.50

Tested by

no test coverage detected