Skip to content

Backpressuring in streams - vague example #6453

Open
@nenikola

Description

@nenikola

Enter your suggestions in details:

In section explaining Rules specific to readable streams, author states that first example is bad because it doesn't consider return value of a .push. However neither in the next example, nor the one after they show or explain how to properly handle .push. The last example:
image
is trivial as well as it's explanation, and is great miss of even greater opportunity to demonstrate a proper way of doing things for such an important topic.

I hope someone can fix it, I was just researching the matter and it causes a great confusion being written as it is.

Metadata

Metadata

Assignees

No one assigned

    Labels

    contentIssues/pr concerning contentgood first issueIssues for newcomershelp wantedlearnIssues/pr concerning the learn section

    Type

    Projects

    Status

    📋 Backlog

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions