MCPcopy Index your code
hub / github.com/ded/script.js / callback

Function callback

src/script.js:39–47  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

37 return item.call ? item() : list[item]
38 }
39 function callback() {
40 if (!--queue) {
41 list[id] = 1
42 done && done()
43 for (var dset in delay) {
44 every(dset.split('|'), loopFn) && !each(delay[dset], loopFn) && (delay[dset] = [])
45 }
46 }
47 }
48 setTimeout(function () {
49 each(paths, function loading(path, force) {
50 if (path === null) return callback()

Callers 1

$scriptFunction · 0.85

Calls 2

everyFunction · 0.85
eachFunction · 0.85

Tested by

no test coverage detected