MCPcopy Create free account
hub / github.com/azat-co/practicalnode / _callback

Function _callback

code/ch14/promise/basic-promise-3.js:3–3  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

1const fs = require('fs')
2function readFilePromise( filename ) {
3 let _callback = () => {}
4 let _errorCallback = () => {}
5
6 fs.readFile(filename, (error, buffer) => {

Callers 2

readFilePromiseFunction · 0.85
myAsyncTimeoutFnFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected