async_hooks, the new and still experimental API that came out with node 8 got my attention a few weeks back, so I decided to do a bit of exploring as to what it can help me do. async_hooks API in a gistasync_hooks API essentially makes it easier for you to track your resources (bye dtrace?). You start off by initializing it with an object of callbacks: init, before, after and destroy. . . var asyn
![async_hooks in node.js, illustrated](https://cdn-ak-scissors.b.st-hatena.com/image/square/853bc942b0a06d71d4dadaa3d88af65c067a70d5/height=288;version=1;width=512/https%3A%2F%2Fmiro.medium.com%2Fv2%2Fresize%3Afit%3A1200%2F1%2AWvQ_cZPu8DaHTx2StbpPTA.jpeg)