MCPcopy Create free account
hub / github.com/azat-co/practicalnode / basic-promise-3.js

File basic-promise-3.js

code/ch14/promise/basic-promise-3.js:None–None  ·  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 = () => {}

Callers

nothing calls this directly

Calls 1

readFilePromiseFunction · 0.85

Tested by

no test coverage detected