MCPcopy Create free account
hub / github.com/plotly/plotly.js / exec

Function exec

src/lib/throttle.js:39–46  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

37 _clearTimeout(cache);
38
39 function exec() {
40 callback();
41 cache.ts = Date.now();
42 if(cache.onDone) {
43 cache.onDone();
44 cache.onDone = null;
45 }
46 }
47
48 if(now > cache.ts + minInterval) {
49 exec();

Callers 5

throttle.jsFile · 0.85
test_bundle.jsFile · 0.85
_publishToNPMFunction · 0.85
common.jsFile · 0.85
get_geodata.mjsFile · 0.85

Calls 1

callbackFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…