MCPcopy Create free account
hub / github.com/violentmonkey/violentmonkey / check

Function check

scripts/transifex.mjs:51–57  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

49 check();
50 }
51 function check() {
52 while (tokens.length && processing.size < concurrency) {
53 const token = tokens.shift();
54 processing.add(token);
55 token.resolve();
56 }
57 }
58 async function limited(...args) {
59 const token = await getToken();
60 try {

Callers 2

getTokenFunction · 0.85
releaseTokenFunction · 0.85

Calls 1

addMethod · 0.80

Tested by

no test coverage detected