MCPcopy Index your code
hub / github.com/socketstream/socketstream / doneIfAllDone

Function doneIfAllDone

lib/tasks/index.js:86–94  ·  view source on GitHub ↗
(err)

Source from the content-addressed store, hash-verified

84 return this;
85
86 function doneIfAllDone(err) {
87 if (err) {
88 log.error('!'.red, 'task failed', err);
89 }
90
91 if (!orchestrator.isRunning && done) {
92 done(err);
93 }
94 }
95 },
96 on: function() {
97 orchestrator.on.apply(orchestrator,arguments);

Callers

nothing calls this directly

Calls 1

doneFunction · 0.85

Tested by

no test coverage detected