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: fix two doc errors in stream and process · nodejs/node@0603a92

File tree

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

‎doc/api/process.markdown‎

Copy file name to clipboardExpand all lines: doc/api/process.markdown
+1-7Lines changed: 1 addition & 7 deletions
  • Display the source diff
  • Display the rich diff
Original file line numberDiff line numberDiff line change
@@ -246,13 +246,7 @@ For example, a `console.log` equivalent could look like this:
246246

247247
`process.stderr` and `process.stdout` are unlike other streams in io.js in
248248
that they cannot be closed (`end()` will throw), they never emit the `finish`
249-
event and that writes are usually blocking.
250-
251-
- They are blocking in the case that they refer to regular files or TTY file
252-
descriptors.
253-
- In the case they refer to pipes:
254-
- They are blocking in Linux/Unix.
255-
- They are non-blocking like other streams in Windows.
249+
event and that writes are always blocking.
256250

257251
To check if io.js is being run in a TTY context, read the `isTTY` property
258252
on `process.stderr`, `process.stdout`, or `process.stdin`:
Collapse file

‎doc/api/stream.markdown‎

Copy file name to clipboardExpand all lines: doc/api/stream.markdown
+2-2Lines changed: 2 additions & 2 deletions
  • Display the source diff
  • Display the rich diff
Original file line numberDiff line numberDiff line change
@@ -1440,8 +1440,8 @@ var transform = new stream.Transform({
14401440
<!--type=misc-->
14411441

14421442
Both Writable and Readable streams will buffer data on an internal
1443-
object called `_writableState.buffer` or `_readableState.buffer`,
1444-
respectively.
1443+
object which can be retrieved from `_writableState.getBuffer()` or
1444+
`_readableState.buffer`, respectively.
14451445

14461446
The amount of data that will potentially be buffered depends on the
14471447
`highWaterMark` option which is passed into the constructor.

0 commit comments

Comments
0 (0)
You are visitor 01402775 — 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.