10000
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
There was an error while loadi 8000 ng. Please reload this page.
1 parent 11f5924 commit 36c20d9Copy full SHA for 36c20d9
doc/api/stream.md
@@ -606,7 +606,7 @@ changes:
606
not operating in object mode, `chunk` must be a string, `Buffer` or
607
`Uint8Array`. For object mode streams, `chunk` may be any JavaScript value
608
other than `null`.
609
-* `encoding` {string} The encoding, if `chunk` is a string. **Default:** `'utf8'`
+* `encoding` {string|null} The encoding, if `chunk` is a string. **Default:** `'utf8'`
610
* `callback` {Function} Callback for when this chunk of data is flushed.
611
* Returns: {boolean} `false` if the stream wishes for the calling code to
612
wait for the `'drain'` event to be emitted before continuing to write
0 commit comments