Skip to content
Closed
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
removing forbidden strings and fixing link.
  • Loading branch information
GKJCJG authored Nov 21, 2019
commit 845738c7428755959f33d1843d3b1a8123c48b1e
7 changes: 3 additions & 4 deletions doc/api/stream.md
Original file line number Diff line number Diff line change
Expand Up @@ -364,12 +364,11 @@ immediately forwarding them to the underlining destination, `writable.cork()`
buffers all the chunks until `writable.uncork()` is called, which will pass
them all to `writable._writev()`, if present. This prevents an head-of-line
Comment thread
GKJCJG marked this conversation as resolved.
Resolved
blocking situation where data is being buffered while waiting for the first
small chunk to be processed.
small chunk to be processed. However, use of `writable.cork()` without
implementing `writable._writev()` may have an adverse effect on throughput.

Note that using `writable.cork()` without implementing `writable._writev()` is
likely to have an adverse effect on throughput.

See also: [`writable.uncork()`][], [`writable._writev(chunks, callback)`][].
See also: [`writable.uncork()`][], [`writable._writev()`][stream-_writev].

##### writable.destroy(\[error\])
<!-- YAML
Expand Down