8000
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.
1 parent b470354 commit 87136c9Copy full SHA for 87136c9
doc/api/net.md
@@ -650,9 +650,9 @@ For both types, available `options` include:
650
651
* `onread` {Object} If specified, incoming data is stored in a single `buffer`
652
and passed to the supplied `callback` when data arrives on the socket.
653
- Note: this will cause the streaming functionality to not provide any data,
654
- however events like `'error'`, `'end'`, and `'close'` will still be emitted
655
- as normal and methods like `pause()` and `resume()` will also behave as
+ This will cause the streaming functionality to not provide any data.
+ The socket will emit events like `'error'`, `'end'`, and `'close'`
+ as usual. Methods like `pause()` and `resume()` will also behave as
656
expected.
657
* `buffer` {Buffer|Uint8Array|Function} Either a reusable chunk of memory to
658
use for storing incoming data or a function that returns such.