MCPcopy Create free account
hub / github.com/DialmasterOrg/Youtarr / getInProgressJobId

Method getInProgressJobId

server/modules/jobModule.js:396–403  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

394 }
395
396 getInProgressJobId() {
397 for (let id in this.jobs) {
398 if (this.jobs[id].status === 'In Progress') {
399 return id;
400 }
401 }
402 return null;
403 }
404
405 async startNextJob() {
406 logger.info('Looking for next job to start');

Callers 4

addOrUpdateJobMethod · 0.95
isDownloadInProgressFunction · 0.80
jobModule.test.jsFile · 0.80
jobs.jsFile · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected