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

Document TransformStream cleanup using "transformer.cleanup" #29375

Open
lucacasonato opened this issue Sep 30, 2023 · 1 comment
Open

Document TransformStream cleanup using "transformer.cleanup" #29375

lucacasonato opened this issue Sep 30, 2023 · 1 comment
Labels
Content:WebAPI Web API docs waiting for implementations Waiting for feature to be implemented in browsers

Comments

@lucacasonato
Copy link
Contributor

The WHATWG Streams API was recently updated with a new hook for TransformStream cleanup. This allows cleaning up resources backing a transform stream when the stream is errored or aborted. Previously this sort of cleanup was only possible via the flush hook, which is only called when the readable stream naturally closes.

The spec PR can be found here: whatwg/streams#1283

@github-actions github-actions bot added the needs triage Triage needed by staff and/or partners. Automatically applied when an issue is opened. label Sep 30, 2023
@Josh-Cena Josh-Cena added Content:WebAPI Web API docs waiting for implementations Waiting for feature to be implemented in browsers and removed needs triage Triage needed by staff and/or partners. Automatically applied when an issue is opened. labels Sep 30, 2023
@hamishwillee
Copy link
Collaborator

Thanks @lucacasonato . MDN documents things when there is a testable implementation on any of the major browser engines.

If not done by someone else, this will be picked up when https://bugzilla.mozilla.org/show_bug.cgi?id=1856103 merges (I added the dev-doc-needed keyword).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Content:WebAPI Web API docs waiting for implementations Waiting for feature to be implemented in browsers
Projects
None yet
Development

No branches or pull requests

3 participants