MCPcopy Index your code
hub / github.com/bee-queue/bee-queue / _getNextJob

Method _getNextJob

lib/queue.js:534–539  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

532 }
533
534 _getNextJob() {
535 this._redisFailureRetryDelay = 0;
536 // Under normal calling conditions, commandable will not reject because we
537 // will have just checked paused in Queue#process.
538 return this._commandable(true).then(() => this._waitForJob());
539 }
540
541 _runJob(job) {
542 let psTimeout = null,

Callers 2

jobTickMethod · 0.95
queue-test.jsFile · 0.80

Calls 2

_commandableMethod · 0.95
_waitForJobMethod · 0.95

Tested by

no test coverage detected