MCPcopy
hub / github.com/didi/mpx / flushQueue

Method flushQueue

packages/fetch/src/queue.js:75–81  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

73 }
74
75 flushQueue () {
76 if (this.flushing) return
77 this.flushing = true
78 setTimeout(() => {
79 this.workingRequest()
80 }, this.delay)
81 }
82
83 workingRequest () {
84 while (this.workingList.length < this.limit && this.workList.length) {

Callers 2

requestMethod · 0.95
requestCompleteMethod · 0.95

Calls 1

workingRequestMethod · 0.95

Tested by

no test coverage detected