MCPcopy Index your code
hub / github.com/PrairieLearn/PrairieLearn / _callCallback

Method _callCallback

lib/code-caller.js:362–369  ·  view source on GitHub ↗
(err, data, output)

Source from the content-addressed store, hash-verified

360 }
361
362 _callCallback(err, data, output) {
363 debug(`enter _callCallback(), state: ${String(this.state)}, uuid: ${this.uuid}`);
364 if (err) err.data = this._errorData();
365 const c = this.callback;
366 this.callback = null;
367 c(err, data, output);
368 debug(`exit _callCallback(), state: ${String(this.state)}, uuid: ${this.uuid}`);
369 }
370
371 _callIsFinished() {
372 debug(`enter _callIsFinished(), state: ${String(this.state)}, uuid: ${this.uuid}`);

Callers 4

_handleChildExitMethod · 0.95
_handleChildErrorMethod · 0.95
_timeoutMethod · 0.95
_callIsFinishedMethod · 0.95

Calls 3

_errorDataMethod · 0.95
debugFunction · 0.85
cFunction · 0.50

Tested by

no test coverage detected