A demo about the experimental async_hooks
API in Node.js.
Clone the repo and install the dependencies:
$ git clone https://github.com/apehead/async-hooks-demo
$ cd async-hooks-demo && npm install
To run the examples you need Node.js version 8 or higher.
Run the desired example from the terminal with the node
executable:
$ node examples/01-init-timer.js