MCPcopy Index your code
hub / github.com/Tampermonkey/tampermonkey / insertDone

Function insertDone

src/background.js:1313–1324  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

1311 };
1312
1313 var insertDone = function() {
1314 if (scripts.length > bulk) {
1315 writeScripts(insertDone);
1316 return;
1317 }
1318 i++;
1319 if (i % 96 == 0) {
1320 window.setTimeout(insertItem, 0);
1321 } else {
1322 insertItem();
1323 }
1324 };
1325
1326 var insertItem = function() {
1327

Callers 1

insertItemFunction · 0.85

Calls 2

writeScriptsFunction · 0.85
insertItemFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…