Skip to content

Commit e184520

Browse files
committed
doc: clarify unshift EOF
1 parent 4f73edf commit e184520

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

doc/api/stream.md

+3-3
Original file line numberDiff line numberDiff line change
@@ -1289,9 +1289,9 @@ changes:
12891289
`Buffer` encoding, such as `'utf8'` or `'ascii'`.
12901290

12911291
Passing `chunk` as `null` signals the end of the stream (EOF) and behaves the
1292-
same as `readable.push(null)`, after which no more data can be written. Note
1293-
that the EOF signal is put at the end of the buffer and any buffered data will
1294-
still be flushed.
1292+
same as `readable.push(null)`, after which no more data can be written. The EOF
1293+
signal is put at the end of the buffer and any buffered data will still be
1294+
flushed.
12951295

12961296
The `readable.unshift()` method pushes a chunk of data back into the internal
12971297
buffer. This is useful in certain situations where a stream is being consumed by

0 commit comments

Comments
 (0)