阿西河

所有教程

公众号
🌙
阿西河前端的公众号

我的收藏

    最近访问  (文章)

      教程列表

      抓包专区
      测试专区

      Node.js async_hooks 术语

      Node.js async_hooks 术语

      An asynchronous resource represents an object with an associated callback. This callback may be called multiple times, for example, the ‘connection’ event in net.createServer(), or just a single time like in fs.open(). A resource can also be closed before the callback is called. AsyncHook does not explicitly distinguish between these different cases but will represent them as the abstract concept that is a resource.

      If Workers are used, each thread has an independent async_hooks interface, and each thread will use a new set of async IDs.


      更多选项请参考:Node.js 异步钩子,或者通过 点击对应菜单 进行查看;


      目录
      本文目录
      目录