镜像站点 · 本页由第三方 GitHub 只读镜像提供,非 GitHub 官方站点,不接受任何登录或凭据输入。前往 github.com
Skip to content

doc: missing negation in streams doc #10710

Description

@jrieken

from https://nodejs.org/dist/latest-v6.x/docs/api/stream.html#stream_errors_while_reading

The doc for Errors While Reading says:

Throwing an Error from within readable._read() can result in expected and inconsistent behavior depending on whether the stream is operating in flowing or paused mode. Using the 'error' event ensures consistent and predictable handling of errors.

and I believe it should be ...can result in UNexpected and inconsistent behavior...

Activity

  1. jrieken commented on Jan 9, 2017

    @jrieken
    ContributorAuthor

    Seems to be fixed on master

  2. reopened this on Jan 9, 2017
  3. evanlucas commented on Jan 9, 2017

    @evanlucas
    Contributor

    hm, I still see it under Errors While Writing. Want to submit a pull request to fix?

  4. jrieken commented on Jan 9, 2017

    @jrieken
    ContributorAuthor

    Sure, will open PR. I was tricked by two Errors While Reading sections, one is correct...

  5. added a commit that references this issue on Jan 9, 2017
    14ad012
  6. added
    docIssues and PRs related to Node.js documentation.
    streamIssues and PRs related to Node.js streams.
    on Jan 9, 2017
  7. added a commit that references this issue on Jul 27, 2026
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

    docIssues and PRs related to Node.js documentation.streamIssues and PRs related to Node.js streams.

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions