This repository contains async hooks examples used in my blog article at https://blog.insiderattack.net/understanding-async-resources-with-async-hooks-3416de574f30.
Async hooks set up and the logger can be found in the setup
directory.
- Clone the repository and open the repository directory in terminal
- To run an example file, simply use
node <file.js>
command
All async hooks logs are written to a file called log
in the same directory.