doc: improve async_hooks asynchronous context example · nodejs/node@f12c6f4 · GitHub
Skip to content

Commit f12c6f4

Browse files
lundibundiaddaleax
authored andcommitted
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 PR-URL: #33730 Reviewed-By: Gerhard Stöbich <deb2001-github@yahoo.de> Reviewed-By: Andrey Pechkurov <apechkurov@gmail.com> Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Vladimir de Turckheim <vlad2t@hotmail.com>
1 parent 8fb265d commit f12c6f4

1 file changed

Lines changed: 28 additions & 9 deletions

File tree

doc/api/async_hooks.md

Lines changed: 28 additions & 9 deletions

0 commit comments

Comments
 (0)