MCPcopy Create free account
hub / github.com/Tron521/codex-console-temp / flushQueue

Method flushQueue

static/js/utils.js:266–273  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

264 }
265
266 flushQueue() {
267 while (this.activeRequestCount < this.maxConcurrentRequests && this.requestQueue.length > 0) {
268 const next = this.requestQueue.shift();
269 if (typeof next === 'function') {
270 next();
271 }
272 }
273 }
274
275 sleep(ms) {
276 return new Promise((resolve) => setTimeout(resolve, ms));

Callers 1

runMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected