Skip to content
This repository was archived by the owner on Apr 22, 2023. It is now read-only.
This repository was archived by the owner on Apr 22, 2023. It is now read-only.

readable.unshift(chunk) not resetting state.reading #14604

Closed
@zoubin

Description

@zoubin

I see it is done on purpose in readableAddChunk, but it confuses me. Especially when I find that the example given in the documentation fails because it does nothing to reset the reading flag (like push('')) after this.unshift(b).

Is it necessary to behave this way?

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions