Title: Web Streams API TransformStream "transformer" is missing the "cancel" method from the WHATWG streams standard · Issue #62540 · nodejs/node · GitHub
Open Graph Title: Web Streams API TransformStream "transformer" is missing the "cancel" method from the WHATWG streams standard · Issue #62540 · nodejs/node
X Title: Web Streams API TransformStream "transformer" is missing the "cancel" method from the WHATWG streams standard · Issue #62540 · nodejs/node
Description: Affected URL(s) https://nodejs.org/api/webstreams.html#new-transformstreamtransformer-writablestrategy-readablestrategy Description of the problem Despite the code ostensibly supporting the cancel: TransformerCancelCallback member of the...
Open Graph Description: Affected URL(s) https://nodejs.org/api/webstreams.html#new-transformstreamtransformer-writablestrategy-readablestrategy Description of the problem Despite the code ostensibly supporting the cancel:...
X Description: Affected URL(s) https://nodejs.org/api/webstreams.html#new-transformstreamtransformer-writablestrategy-readablestrategy Description of the problem Despite the code ostensibly supporting the cancel:...
Opengraph URL: https://github.com/nodejs/node/issues/62540
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Web Streams API TransformStream \"transformer\" is missing the \"cancel\" method from the WHATWG streams standard","articleBody":"### Affected URL(s)\n\nhttps://nodejs.org/api/webstreams.html#new-transformstreamtransformer-writablestrategy-readablestrategy\n\n### Description of the problem\n\nDespite the code [ostensibly supporting](https://github.com/nodejs/node/blob/86282b56d20ff4be98003dfbd9aff91fcbfe3cf2/lib/internal/webstreams/transformstream.js#L469) the [`cancel: TransformerCancelCallback`](https://streams.spec.whatwg.org/#transformer-api) member of the WHATWG streams `Transformer`, it is not mentioned in the documentation.\n\nPresumably due to this omission, it is also [missing from latest `@types/node`](https://github.com/DefinitelyTyped/DefinitelyTyped/blob/02f776d15b20fb7c282380f843741a478b3d84e0/types/node/stream/web.d.ts#L54).","author":{"url":"https://github.com/TomStrepsil","@type":"Person","name":"TomStrepsil"},"datePublished":"2026-04-01T17:41:18.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":2},"url":"https://github.com/62540/node/issues/62540"}
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:2257bb6b-92e8-6ef9-92a1-368552ae46a7 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | ACB4:1CDE4B:8943:A721:6A4C5FF0 |
| html-safe-nonce | 3476de9f3e53183b1d812dc6aa830fa17b706b93ac14bf15b0f64d394611a000 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJBQ0I0OjFDREU0Qjo4OTQzOkE3MjE6NkE0QzVGRjAiLCJ2aXNpdG9yX2lkIjoiNzk1NzcyMzc0ODYzODY3OTAyNSIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | 8c5f868af4f77611d730e13383008d04158c697b2a75764430bc295f2d8433b6 |
| hovercard-subject-tag | issue:4188740513 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/nodejs/node/62540/issue_layout |
| twitter:image | https://opengraph.githubassets.com/ccf9e15ea2e975deaca16ede37776840b7ba77dbfc4968ec68da94a55401ab32/nodejs/node/issues/62540 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/ccf9e15ea2e975deaca16ede37776840b7ba77dbfc4968ec68da94a55401ab32/nodejs/node/issues/62540 |
| og:image:alt | Affected URL(s) https://nodejs.org/api/webstreams.html#new-transformstreamtransformer-writablestrategy-readablestrategy Description of the problem Despite the code ostensibly supporting the cancel:... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | TomStrepsil |
| hostname | github.com |
| expected-hostname | github.com |
| None | 3d11bb817438277de2a940854450e83a7d32b6aeb5014e9e6b00a6423900251c |
| turbo-cache-control | no-preview |
| go-import | github.com/nodejs/node git https://github.com/nodejs/node.git |
| octolytics-dimension-user_id | 9950313 |
| octolytics-dimension-user_login | nodejs |
| octolytics-dimension-repository_id | 27193779 |
| octolytics-dimension-repository_nwo | nodejs/node |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 27193779 |
| octolytics-dimension-repository_network_root_nwo | nodejs/node |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 14099438da5379150f15a2892474c7c7e6c0e55e |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width