MCPcopy
hub / github.com/compodoc/compodoc / loop

Function loop

tools/release-screenshots.js:86–102  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

84 });
85
86 let loop = function() {
87 if (i < len) {
88 document(THEMES[i])
89 .then(function() {
90 i++;
91 loop();
92 })
93 .catch(error => {
94 console.log('document error: ', error);
95 });
96 } else {
97 console.log('END');
98 liveServer.shutdown();
99 process.exit(0);
100 rimraf(tmp.name);
101 }
102 };
103 loop();
104 }
105 }

Callers 1

Calls 2

documentFunction · 0.85
logMethod · 0.80

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…