Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update abort signal in fs promise api example #38669

Closed
wants to merge 5 commits into from

Conversation

MoritzKn
Copy link
Contributor

Without awaiting the promise the try-catch block would never catch this error. IMO this was misleading.

Without `await`ing the promise the try-catch block would never catch this error. IMO this was misleading.
@github-actions github-actions bot added doc Issues and PRs related to the documentations. fs Issues and PRs related to the fs subsystem / file system. labels May 13, 2021
doc/api/fs.md Outdated Show resolved Hide resolved
doc/api/fs.md Outdated Show resolved Hide resolved
MoritzKn and others added 2 commits May 13, 2021 15:56
Co-authored-by: Antoine du Hamel <[email protected]>
Co-authored-by: Antoine du Hamel <[email protected]>
@aduh95 aduh95 added the author ready PRs that have at least one approval, no pending requests for changes, and a CI started. label May 13, 2021
@MoritzKn MoritzKn requested a review from aduh95 May 13, 2021 14:01
doc/api/fs.md Outdated Show resolved Hide resolved
doc/api/fs.md Outdated Show resolved Hide resolved
doc/api/fs.md Outdated Show resolved Hide resolved
Co-authored-by: Antoine du Hamel <[email protected]>
@MoritzKn
Copy link
Contributor Author

MoritzKn commented May 13, 2021

Sorry for all the whitespace noise in this. I thought I could make the edits in GitHub directly, turns out editing such a large markdown documents needs a proper editor ^^
If desired, I can squash the commits.

@jasnell
Copy link
Member

jasnell commented May 17, 2021

Landed in ceae1b4

@jasnell jasnell closed this May 17, 2021
jasnell pushed a commit that referenced this pull request May 17, 2021
PR-URL: #38669
Reviewed-By: Antoine du Hamel <[email protected]>
Reviewed-By: Darshan Sen <[email protected]>
Reviewed-By: James M Snell <[email protected]>
Reviewed-By: Rich Trott <[email protected]>
targos pushed a commit that referenced this pull request May 18, 2021
PR-URL: #38669
Reviewed-By: Antoine du Hamel <[email protected]>
Reviewed-By: Darshan Sen <[email protected]>
Reviewed-By: James M Snell <[email protected]>
Reviewed-By: Rich Trott <[email protected]>
targos pushed a commit that referenced this pull request Sep 4, 2021
PR-URL: #38669
Reviewed-By: Antoine du Hamel <[email protected]>
Reviewed-By: Darshan Sen <[email protected]>
Reviewed-By: James M Snell <[email protected]>
Reviewed-By: Rich Trott <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
author ready PRs that have at least one approval, no pending requests for changes, and a CI started. doc Issues and PRs related to the documentations. fs Issues and PRs related to the fs subsystem / file system.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

6 participants