MCPcopy Create free account
hub / github.com/cloudconvert/cloudconvert-cli / finishJob

Function finishJob

src/job.ts:177–184  ·  view source on GitHub ↗
(finishedJob: Job)

Source from the content-addressed store, hash-verified

175 };
176
177 const finishJob = (finishedJob: Job): void => {
178 if (isSettled() || isCancelled()) {
179 return;
180 }
181
182 stopWaiting();
183 void finishCompletedJob(finishedJob, argv, spinner, logger, downloadFile).then(resolve, reject);
184 };
185
186 const failJob = (failedJob?: Job): void => {
187 if (isSettled() || isCancelled()) {

Callers

nothing calls this directly

Calls 4

isSettledFunction · 0.85
isCancelledFunction · 0.85
stopWaitingFunction · 0.85
finishCompletedJobFunction · 0.85

Tested by

no test coverage detected