Texonom
Texonom
/
Engineering
Engineering
/Software Engineering/Programming/Programming Language/Programming Languages/4GL/ECMAScript/
Node JS
Node JS
/Node Module/Node built in Module/
node async_hooks
Search

node async_hooks

Creator
Creator
Seonglae ChoSeonglae Cho
Created
Created
2020 Nov 2 6:33
Editor
Editor
Seonglae ChoSeonglae Cho
Edited
Edited
2025 Oct 15 14:50
Refs
Refs

Provides functions to track asynchronous resources

Called when a promise starts or ends, receiving an ID
 

AsyncLocalStorage is fine and stable

React useContext()

Experimental

 
 
 
Async hooks | Node.js v24.10.0 Documentation
We strongly discourage the use of the async_hooks API. Other APIs that can cover most of its use cases include:
Async hooks | Node.js v24.10.0 Documentation
https://nodejs.org/api/async_hooks.html
NodeJS에서 async_hooks을 이용해 요청의 고유한 context 사용하기
이 글은 Guillaume Bession의 개인 블로그에 올라와있는 Getting per-request context in NodeJS with async_hooks 글의 번역글입니다.저는 최근 NodeJS로 HTTP 서버를 개발하던 도중 문제를 맞닥트리게 되었습니다. 저는 제 코드베이스의 많은 부분에서 로깅을 하고 있었고, 각 요청별로 유니크ID를 가졌습니다. 저는 이 유니크한 ID를 각 요청 안에서 무슨 일이 일어나고 있는지
NodeJS에서 async_hooks을 이용해 요청의 고유한 context 사용하기
https://tech.ssut.me/getting-per-request-context-in-nodejs-with-async_hooks/
NodeJS에서 async_hooks을 이용해 요청의 고유한 context 사용하기
 
 

Table of Contents
Provides functions to track asynchronous resourcesAsyncLocalStorage is fine and stableExperimental

Recommendations

Texonom
Texonom
/
Engineering
Engineering
/Software Engineering/Programming/Programming Language/Programming Languages/4GL/ECMAScript/
Node JS
Node JS
/Node Module/Node built in Module/
node async_hooks
Copyright Seonglae Cho