(cb)
| 179 | // for callbacks that are passed to the binding layer, callbacks that are |
| 180 | // invoked from JS already run in the proper scope. |
| 181 | function 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 |
no outgoing calls
no test coverage detected
searching dependent graphs…