MCPcopy Create free account
hub / github.com/OBKoro1/web-basics / pullTask

Method pullTask

src/scene/task-concurrent.js:83–88  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

81
82 // 异步结束 添加新的异步任务
83 pullTask() {
84 // 上一个任务有结果了 开放一个并发名额出来
85 this.size--
86 // 从任务池中取出任务 自动执行异步任务
87 this.queueOutTask()
88 }
89}
90
91

Callers 1

runTaskMethod · 0.95

Calls 1

queueOutTaskMethod · 0.95

Tested by

no test coverage detected