home/categories/backend/ecnu-icalk-autoskill-skillbank-users-chinese-gpt3-5-8-glm4-7-基于asynclocalstorage的异步调用链追踪-skill-md
backenddevelopment

asynclocalstorage

在Node.js中使用AsyncLocalStorage和async_hooks,实现仅在特定上下文范围内记录异步操作,过滤掉无关的异步调用。

ECNU-ICALK
maintainer
ECNU-ICALK
Mis à jour 01/03/2026
Étoiles
304
Forks
34
quick start

Installation and usage

在Node.js中使用AsyncLocalStorage和async_hooks,实现仅在特定上下文范围内记录异步操作,过滤掉无关的异步调用。

Installation
$ install --globalskills.sh
Utilisation

Après l'installation, vous pouvez utiliser ce skill en exécutant la commande suivante dans votre terminal :

skills use asynclocalstorage