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

Implement TransformStream cleanup using "transformer.cancel" #20741

Closed
lucacasonato opened this issue Sep 30, 2023 · 0 comments · Fixed by #20815
Closed

Implement TransformStream cleanup using "transformer.cancel" #20741

lucacasonato opened this issue Sep 30, 2023 · 0 comments · Fixed by #20815
Labels
ext/web related to the ext/web crate feat new feature (which has been agreed to/accepted)

Comments

@lucacasonato
Copy link
Member

The Streams specification has been updated with support for a hook to cleanup a TransformStream on error / abort. See whatwg/streams#1283. WPTs are available: web-platform-tests/wpt#40453

@lucacasonato lucacasonato added feat new feature (which has been agreed to/accepted) ext/web related to the ext/web crate labels Sep 30, 2023
@lucacasonato lucacasonato changed the title Implement TransformStream cleanup using "transformer.cleanup" Implement TransformStream cleanup using "transformer.cancel" Sep 30, 2023
mmastrac pushed a commit that referenced this issue Feb 13, 2024
…cancellation (#21199)

Based on #21074 and #20741 I was looking for further potential use cases
of `TransformStream` `cancel()` method, so here go `CompressionStream`
and `DecompressionStream`.

Fixes #14212
littledivy pushed a commit that referenced this issue Feb 15, 2024
…cancellation (#21199)

Based on #21074 and #20741 I was looking for further potential use cases
of `TransformStream` `cancel()` method, so here go `CompressionStream`
and `DecompressionStream`.

Fixes #14212
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
ext/web related to the ext/web crate feat new feature (which has been agreed to/accepted)
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant