Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit 2c86cb5

Browse filesBrowse files
deokjinkimMylesBorins
authored andcommitted
doc: remove unused functions from example of streamConsumers.text
json, blob, and buffer are imported, but these functions are not used for example of `streamConsumers.text`. PR-URL: #46581 Reviewed-By: Darshan Sen <raisinten@gmail.com> Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: Luigi Pinca <luigipinca@gmail.com> Reviewed-By: James M Snell <jasnell@gmail.com>
1 parent 338c8f6 commit 2c86cb5
Copy full SHA for 2c86cb5

File tree

Expand file treeCollapse file tree

1 file changed

+1
-1
lines changed
Open diff view settings
Filter options
Expand file treeCollapse file tree

1 file changed

+1
-1
lines changed
Open diff view settings
Collapse file

‎doc/api/webstreams.md‎

Copy file name to clipboardExpand all lines: doc/api/webstreams.md
+1-1Lines changed: 1 addition & 1 deletion
  • Display the source diff
  • Display the rich diff
Original file line numberDiff line numberDiff line change
@@ -1613,7 +1613,7 @@ added: v16.7.0
16131613
UTF-8 encoded string.
16141614
16151615
```mjs
1616-
import { json, text, blob, buffer } from 'node:stream/consumers';
1616+
import { text } from 'node:stream/consumers';
16171617
import { Readable } from 'node:stream';
16181618

16191619
const readable = Readable.from('Hello world from consumers!');

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.