MCPcopy
hub / github.com/di-sukharev/opencommit / callback

Function callback

out/cli.cjs:24880–24884  ·  view source on GitHub ↗
(error, responce)

Source from the content-addressed store, hash-verified

24878 if (cb) {
24879 var onResponse;
24880 var callback = function(error, responce) {
24881 request3.removeListener("error", callback);
24882 request3.removeListener("response", onResponse);
24883 return cb.call(this, error, responce);
24884 };
24885 onResponse = callback.bind(this, null);
24886 request3.on("error", callback);
24887 request3.on("response", onResponse);

Callers 15

mapFunction · 0.85
forEachMethod · 0.85
asyncFunction · 0.85
iterateFunction · 0.85
parallelFunction · 0.85
serialOrderedFunction · 0.85
closeMethod · 0.85
destroyMethod · 0.85
request3Function · 0.85
stream4Function · 0.85

Calls 1

removeListenerMethod · 0.80

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…