Q8: What is the async_hooks module in Node.js?
The async_hooks core module tracks the lifecycle of asynchronous resources created within a Node.js application, useful for tracing context across async operations.
Key Takeaways
- Tracks creation and lifetime hooks for asynchronous resources.
- Powers diagnostic tracing and async local context storage.
Knowledge Check
Which core abstraction built on async_hooks maintains context across async operations?