Skip to content

Confusing and outdated tidbit in streams documentation #55987

Closed
@mscdex

Description

@mscdex

Affected URL(s)

https://nodejs.org/docs/latest/api/stream.html

Description of the problem

Specifically this bit:

node/doc/api/stream.md

Lines 3849 to 3850 in b6fe731

Furthermore, the `callback` should not be mixed with async/await
once it is executed when a promise is resolved.

Since the undocumented support for "thenables" was removed starting with v18.0.0, this bit in the streams documentation is outdated and should be removed.

Metadata

Metadata

Assignees

No one assigned

    Labels

    docIssues and PRs related to the documentations.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions