Async Hooks API
The async_hooks
module provides an API to register callbacks tracking the lifetime of asynchronous resources created inside a Node.js application.
- pretty much anything happening in your Node.js process ends up creating an asynchronous resource that can be tracked
with
async_hooks