From 72adba4317b52447c06e158a52b4df026e42f2be Mon Sep 17 00:00:00 2001 From: Matteo Collina Date: Tue, 7 Feb 2017 19:10:03 +0100 Subject: [PATCH] doc: add links between cork() and uncork() Writable.cork() and Writable.uncork() are meant to be documented together, but we maintain a lexicographic order. This commit introduces some links between the two. Fixes: https://github.com/nodejs/node/issues/7340 PR-URL: https://github.com/nodejs/node/pull/11222 Reviewed-By: James M Snell Reviewed-By: Anna Henningsen Reviewed-By: Jeremiah Senkpiel Reviewed-By: Colin Ihrig --- doc/api/stream.md | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/doc/api/stream.md b/doc/api/stream.md index 0130d6f215b4d1..d9a2f47db4271f 100644 --- a/doc/api/stream.md +++ b/doc/api/stream.md @@ -347,6 +347,8 @@ buffer that would have an adverse impact on performance. In such situations, implementations that implement the `writable._writev()` method can perform buffered writes in a more optimized manner. +See also: [`writable.uncork()`][]. + ##### writable.end([chunk][, encoding][, callback])