MCPcopy Index your code
hub / github.com/deployd/deployd / callback

Function callback

lib/internal-client.js:86–93  ·  view source on GitHub ↗
(data, error)

Source from the content-addressed store, hash-verified

84 };
85
86 var callback = function(data, error) {
87 // resolve or reject promise
88 if (error) {
89 reject(error);
90 } else {
91 resolve(data);
92 }
93 };
94
95 urlKey = req.method + ' ' + req.url;
96

Callers 2

internal-client.jsFile · 0.70
http.jsFile · 0.50

Calls 2

rejectFunction · 0.85
resolveFunction · 0.85

Tested by

no test coverage detected