Skip to content

Instantly share code, notes, and snippets.

@artemis15
Created August 13, 2019 10:48
Show Gist options
  • Save artemis15/37ba9e45e44e5311863e3e912ce3d799 to your computer and use it in GitHub Desktop.
Save artemis15/37ba9e45e44e5311863e3e912ce3d799 to your computer and use it in GitHub Desktop.
Example of Non-blocking I/O operation
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