MCPcopy Index your code
hub / github.com/restify/node-restify / resolve

Function resolve

lib/chain.js:188–198  ·  view source on GitHub ↗
(value)

Source from the content-addressed store, hash-verified

186 }
187
188 function resolve(value) {
189 if (value && req.log) {
190 // logs resolved value
191 req.log.warn(
192 { value },
193 'Discarded returned value from async handler'
194 );
195 }
196
197 return next();
198 }
199
200 function reject(error) {
201 if (!(error instanceof Error)) {

Callers 1

helper.jsFile · 0.85

Calls 1

nextFunction · 0.70

Tested by

no test coverage detected