Skip to content

Contradiction in Readable docs #29680

@reergymerej

Description

@reergymerej

The readable.push() method is intended be called only by Readable implementers, and only from within the readable._read() method.

This immediately follows an example showing

if (!this.push(chunk))
        this._source.readStop();

in the constructor instead.

Metadata

Metadata

Assignees

No one assigned

    Labels

    docIssues and PRs related to the documentations.streamIssues and PRs related to the stream subsystem.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions