why async_work example was removed?
why async_work example was removed?
It dosen't work with v0.12.0 or io.js. I can't find any working example of async addon for v0.12.0 or above, _except using NAN_.
I also have issues with async under Node 0.12. Tried to rewrite it under new Node, I am getting segmentation faults. It would be great to have a working example...
if you are looking for a NANs implementation, check out this test case:
https://github.com/nodejs/nan/blob/master/test/cpp/asyncworker.cpp https://github.com/nodejs/nan/blob/master/test/js/asyncworker-test.js
there is also async worker with progress callback, both worked great for me.