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

Method handleOutcome

lib/queue.js:556–564  ·  view source on GitHub ↗
(err, data)

Source from the content-addressed store, hash-verified

554 preventStalling();
555
556 const handleOutcome = (err, data) => {
557 completed = true;
558 if (psTimeout) {
559 clearTimeout(psTimeout);
560 psTimeout = null;
561 }
562
563 return this._finishJob(err, data, job);
564 };
565
566 let promise = this.handler(job);
567

Callers

nothing calls this directly

Calls 1

_finishJobMethod · 0.95

Tested by

no test coverage detected