-
-
Notifications
You must be signed in to change notification settings - Fork 32.8k
Open
Labels
docIssues and PRs related to the documentations.Issues and PRs related to the documentations.
Description
Affected URL(s)
https://nodejs.org/api/fs.html#fspromisesmkdtempdisposableprefix-options
Description of the problem
Now that this has landed: mdn/content#38027 I think it would be a good opportunity to add the links for explicit resource management. To start with the fs module.
For example, FileHandle operations could reference MDN's await using
documentation to show modern resource management patterns alongside traditional try/finally approaches.
And I guess that any other part that uses this could benefit from it too.
I will create a small PR for the fs module.
Metadata
Metadata
Assignees
Labels
docIssues and PRs related to the documentations.Issues and PRs related to the documentations.