MCPcopy
hub / github.com/pmmmwh/react-refresh-webpack-plugin / debounced

Function debounced

overlay/utils.js:17–25  ·  view source on GitHub ↗

* @returns {void}

()

Source from the content-addressed store, hash-verified

15 * @returns {void}
16 */
17 function debounced() {
18 const context = this;
19 const args = arguments;
20
21 clearTimeout(timer);
22 timer = setTimeout(function () {
23 return fn.apply(context, args);
24 }, wait);
25 }
26
27 return debounced;
28}

Callers

nothing calls this directly

Calls 1

applyMethod · 0.80

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…