Skip to content

Web Streams API TransformStream "transformer" is missing the "cancel" method from the WHATWG streams standard #62540

Closed

Description

@TomStrepsil

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 WHATWG streams Transformer, it is not mentioned in the documentation.

Presumably due to this omission, it is also missing from latest @types/node.

Activity

  1. added
    doc
    on Apr 1, 2026
  2. Paritoshcodes commented on Apr 1, 2026

    @Paritoshcodes

    Hello @TomStrepsil I would like to work on this issue if possible.

  3. added
    web streams
    on Apr 2, 2026
  4. TomStrepsil commented on Apr 6, 2026

    @TomStrepsil
    ContributorAuthor

    See related discussion for @types/node

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    docweb streams

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions