Skip to content

doc: improve async_hooks asynchronous context example

  • use writeFile(1) everywhere to log
  • prettify execution id graph
  • add clearer explanation for TickObject presence
  • add causation graph via triggerAsyncId
Checklist
  • make -j4 test (UNIX), or vcbuild test (Windows) passes
  • documentation is changed or added
  • commit message follows commit guidelines

/cc @nodejs/async_hooks

Merge request reports

Loading