GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — doc: revert incorrect change on readable._read · nodejs/node@edab2d6

File tree

Expand file treeCollapse file tree
Open diff view settings
Filter options
  • doc/api
    • stream.md
Expand file treeCollapse file tree
Open diff view settings
Collapse file

‎doc/api/stream.md‎

Copy file name to clipboardExpand all lines: doc/api/stream.md
+1-7Lines changed: 1 addition & 7 deletions
  • Display the source diff
  • Display the rich diff
Original file line numberDiff line numberDiff line change
@@ -1858,10 +1858,6 @@ const myReadable = new Readable({
18581858
#### readable.\_read(size)
18591859
<!-- YAML
18601860
added: v0.9.4
1861-
changes:
1862-
- version: v10.0.0
1863-
pr-url: https://github.com/nodejs/node/pull/17979
1864-
description: Call `_read()` only once per microtick.
18651861
-->
18661862

18671863
* `size` {number} Number of bytes to read asynchronously
@@ -1881,9 +1877,7 @@ when `_read()` is called again after it has stopped should it resume pushing
18811877
additional data onto the queue.
18821878

18831879
Once the `readable._read()` method has been called, it will not be called again
1884-
until the [`readable.push()`][stream-push] method is called. `readable._read()`
1885-
is guaranteed to be called only once within a synchronous execution, i.e. a
1886-
microtick.
1880+
until the [`readable.push()`][stream-push] method is called.
18871881

18881882
The `size` argument is advisory. For implementations where a "read" is a
18891883
single operation that returns data can use the `size` argument to determine how

0 commit comments

Comments
0 (0)
You are visitor 01402503 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.