MCPcopy Index your code
hub / github.com/dataease/SQLBot / debounced

Function debounced

frontend/public/swagger-ui-bundle.js:7882–7893  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

7880 return ((x = void 0), V && a ? invokeFunc(s) : ((a = u = void 0), w))
7881 }
7882 function debounced() {
7883 var s = now(),
7884 i = shouldInvoke(s)
7885 if (((a = arguments), (u = this), (C = s), i)) {
7886 if (void 0 === x)
7887 return (function leadingEdge(s) {
7888 return ((j = s), (x = setTimeout(timerExpired, o)), L ? invokeFunc(s) : w)
7889 })(C)
7890 if (B) return ((x = setTimeout(timerExpired, o)), invokeFunc(C))
7891 }
7892 return (void 0 === x && (x = setTimeout(timerExpired, o)), w)
7893 }
7894 return (
7895 (o = toNumber(o) || 0),
7896 isObject(i) &&

Callers

nothing calls this directly

Calls 4

nowFunction · 0.85
shouldInvokeFunction · 0.85
invokeFuncFunction · 0.85
uFunction · 0.70

Tested by

no test coverage detected