From c38b6d2021f2a500e8fc050e9703c1745b375537 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 1095d8e6ecb5f8..ba1c56398d544c 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])