MCPcopy Index your code
hub / github.com/nodejs/node / returnToCallback

Function returnToCallback

lib/internal/debugger/inspect_repl.js:622–625  ·  view source on GitHub ↗
(error, result)

Source from the content-addressed store, hash-verified

620 function controlEval(input, context, filename, callback) {
621 debuglog('eval:', input);
622 function returnToCallback(error, result) {
623 debuglog('end-eval:', input, error);
624 callback(error, result);
625 }
626
627 try {
628 const code = prepareControlCode(input);

Callers 2

controlEvalFunction · 0.85
debugEvalFunction · 0.85

Calls 2

debuglogFunction · 0.50
callbackFunction · 0.50

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…