Skip to content

Commit ed48a55

Browse files
committed
linting fixes
Signed-off-by: Rishabh Bhandari <[email protected]>
1 parent d4146fe commit ed48a55

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

locale/en/docs/guides/backpressuring-in-streams.md

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -528,16 +528,14 @@ myReadableStream.on('data', (chunk) => {
528528
// { message: 'Hello, world!' }
529529
```
530530
In this example, we create a custom Readable stream that pushes a single object
531-
onto the stream using [`.push()`][]. The [`._read()`][] method is called when the stream is ready
531+
onto the stream using [`.push()`][]. The [`._read()`][] method is called when the stream is ready
532532
to consume data, and in this case, we immediately push some data onto the stream and
533533
mark the end of the stream by pushing null.
534534

535535
We then consume the stream by listening for the 'data' event and logging each chunk of
536536
data that is pushed onto the stream. In this case, we only push a single chunk of data
537537
onto the stream, so we only see one log message.
538538

539-
540-
541539
## Rules specific to Writable Streams
542540

543541
Recall that a [`.write()`][] may return true or false dependent on some

0 commit comments

Comments
 (0)