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

Function makeCallback

lib/fs.js:181–185  ·  view source on GitHub ↗
(cb)

Source from the content-addressed store, hash-verified

179// for callbacks that are passed to the binding layer, callbacks that are
180// invoked from JS already run in the proper scope.
181function makeCallback(cb) {
182 validateFunction(cb, 'cb');
183
184 return (...args) => ReflectApply(cb, this, args);
185}
186
187// Special case of `makeCallback()` that is specific to async `*stat()` calls as
188// an optimization, since the data passed back to the callback needs to be

Callers 15

accessFunction · 0.70
closeFunction · 0.70
openFunction · 0.70
renameFunction · 0.70
ftruncateFunction · 0.70
rmdirFunction · 0.70
fdatasyncFunction · 0.70
fsyncFunction · 0.70
mkdirFunction · 0.70
readdirFunction · 0.70
readlinkFunction · 0.70
symlinkFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…