Created
August 13, 2019 10:48
-
-
Save artemis15/37ba9e45e44e5311863e3e912ce3d799 to your computer and use it in GitHub Desktop.
Example of Non-blocking I/O operation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
const _fs = require('fs'); | |
_fs.readFile('package.json', function (_err, _buf){ | |
console.log(_buf.toString()); | |
}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment