š¢ Node.js
š The different core modules
async_hooks
Iām not a big expert on Asynchronous hooks yet (and the module is still experimental). However, I recommend that you take a look in particular at the AsyncLocalStorage API created by Vladimir.
Interesting articles and videos on the topic:
- Node.js 14 & AsyncLocalStorage: Share a context between asynchronous calls
- Making async context management faster, safer, and more stable by doing less - Stephen Belanger
-
[Fun with async hooks and stack traces - Zbyszek Tenerowicz WFH Conf 2020](https://www.youtube.com/watch?v=M5SoPVMZz0I)
The integration is in progress on different frameworks like Adonis.js:
ā¬ ļø š The different core modules: perf_hooks | ā”ļø š The different core modules: Crypto