From 1d80f89442f0f1a3f3b4bc44e0c8ce489fc99a89 Mon Sep 17 00:00:00 2001 From: ExE Boss <3889017+ExE-Boss@users.noreply.github.com> Date: Sun, 21 Jun 2020 15:20:00 +0200 Subject: [PATCH] =?UTF-8?q?doc:=20document=C2=A0changes=20for=C2=A0`*/prom?= =?UTF-8?q?ises`=20alias=C2=A0modules?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Fixes: https://github.com/nodejs/node/issues/35740 Refs: https://github.com/nodejs/node/pull/31553 Refs: https://github.com/nodejs/node/pull/32953 Refs: https://github.com/nodejs/node/pull/33991 Refs: https://github.com/nodejs/node/pull/34001 Refs: https://github.com/nodejs/node/pull/34055 Refs: https://github.com/nodejs/node/pull/34962 Co-authored-by: Antoine du Hamel Co-authored-by: Trivikram Kamat Co-authored-by: Rich Trott PR-URL: https://github.com/nodejs/node/pull/34002 Reviewed-By: Trivikram Kamat Reviewed-By: James M Snell Reviewed-By: Masashi Hirano Reviewed-By: Pranshu Srivastava Reviewed-By: Rich Trott Reviewed-By: Antoine du Hamel --- doc/api/dns.md | 9 +++++++++ doc/api/fs.md | 15 +++++++++++++++ 2 files changed, 24 insertions(+) diff --git a/doc/api/dns.md b/doc/api/dns.md index b448d7d67520a7..35beb8c59771ee 100644 --- a/doc/api/dns.md +++ b/doc/api/dns.md @@ -664,6 +664,15 @@ subsequent servers provided. Fallback DNS servers will only be used if the earlier ones time out or result in some other error. ## DNS promises API + The `dns.promises` API provides an alternative set of asynchronous DNS methods that return `Promise` objects rather than using callbacks. The API is accessible diff --git a/doc/api/fs.md b/doc/api/fs.md index e64d70d6da81fc..e0e8960e7f3a26 100644 --- a/doc/api/fs.md +++ b/doc/api/fs.md @@ -4666,6 +4666,21 @@ For detailed information, see the documentation of the asynchronous version of this API: [`fs.writev()`][]. ## `fs` Promises API + The `fs.promises` API provides an alternative set of asynchronous file system methods that return `Promise` objects rather than using callbacks. The