Allows for non-blocking C++ operations from Node.js using the callback pattern.
Lightweight example.
Tested in Node.js v4.4.2 LTS on Ubuntu Linux.
Clone this git repo and navigate to the project directory. Follow the commands below:
$ npm install -g node-gyp
$ cd async-addon
$ node-gyp configure
$ node-gyp build
$ cd ..
$ node index.js
Thanks to Scott Frees' C++ processing from Node.js - Part 4 - Asynchronous addons article for a lot of help.
Submit a pull-request and I'd be more than happy to include it. C++ isn't my strong point so I can imagine there's room to improve.