Commit 9159fb73 authored by Gireesh Punathil's avatar Gireesh Punathil Committed by Rich Trott
Browse files

doc: hide undocumented object artifacts in async_hooks

The examples show `process.stdout.fd` as a means to use synchronous
writes in async_hooks context. However this is an undocumented field,
so showcase a file write example instead.

Fixes: https://github.com/nodejs/node/issues/22873

PR-URL: https://github.com/nodejs/node/pull/24741


Reviewed-By: default avatarRich Trott <rtrott@gmail.com>
Reviewed-By: default avatarVse Mozhet Byt <vsemozhetbyt@gmail.com>
parent edcb9500
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment