Repository navigation
lib: add aborted() utility function #46494
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
Merged
Merged
Changes from 1 commit
Commits
Show all changes
26 commits
Select commit
Hold shift + click to select a range
6e797f5
lib: add aborted() utility function
debadree25 3834e9f
fixup! update param validation
debadree25 1cab0ca
fixup! make async func
debadree25 2e41a14
fixup! make resource compulsory
debadree25 0a58ffc
fixup! add doc
debadree25 f3621fd
fixup! doc fixup
debadree25 3bfeec0
fixup! doc fixup
debadree25 a2f2c56
fixup! doc
debadree25 f076729
Update doc/api/util.md
debadree25 6334317
Update doc/api/util.md
debadree25 7ff30c8
Update test/parallel/test-aborted-util.js
debadree25 f1ca1f7
Update test/parallel/test-aborted-util.js
debadree25 812c723
Update test/parallel/test-aborted-util.js
debadree25 b209fe1
fixup
debadree25 2f633c6
fixup
debadree25 b03ab4e
fixup! doc
debadree25 bae2765
fixup! doc
debadree25 b1a93a5
fixup! ordering
debadree25 8dfe5b7
fixup! ordering
debadree25 a5b43fe
fixup! ordering
debadree25 2401897
fixup! ordering
debadree25 347c252
fixup! ordering
debadree25 2446138
fixup! refactor function
debadree25 2b6929c
Update test/parallel/test-aborted-util.js
debadree25 a4a7bef
Update test/parallel/test-aborted-util.js
debadree25 f106f87
fixup! add undefined check
debadree25 File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev
Previous commit
fixup! add undefined check
- Loading branch information
commit f106f87bfe5b64f15c37e44d1161b0fab688a3d4
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Have added this check since turns out changing the condition in
validateAbortSignal()immediately results in the build breaking, so i assume its probably not a bug but would like a review hereThere was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It seems like a common pattern across to the codebase to check for undefined and then validate the signal so i think its probably fine?