-
Notifications
You must be signed in to change notification settings - Fork 163
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
TransformStream cleanup using "Transformer.cancel" #1283
Merged
+234
−43
Merged
Changes from 13 commits
Commits
Show all changes
15 commits
Select commit
Hold shift + click to select a range
6ec5260
TransformStream cleanup using "Transformer.cancel"
lucacasonato 1c65d61
remove `controller` argument
lucacasonato 33fada8
fixes
lucacasonato 2e503c6
fix
lucacasonato 5b00d08
Version 2: run cancel before cancelling
lucacasonato 9fa485f
Address grammar comment
lucacasonato f22727f
ci
lucacasonato 4b33032
review comments
lucacasonato 161e3fa
review comments
lucacasonato 40eadec
Fix controller.error() race
lucacasonato 9c8ad53
Lint
lucacasonato 5267f70
Fix trailing whitespace
MattiasBuelens 7631e52
typo
lucacasonato 16900ad
editorial fixes
lucacasonato 4d2abe5
update wpt submodule
lucacasonato 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
There are no files selected for viewing
This file contains 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
This file contains 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
Oops, something went wrong.
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.
This part is redundant after 1c65d61.
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.
My train of thought is that you could extract the
controller
instart
and assign it to a local variable.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.
Oh, hmm, okay then. Maybe also worth having tests for that btw.
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.
Previously it was impossible because of the immediate close semantics. I just pushed the new semantics, and will add tests for this case.