summaryrefslogtreecommitdiff
path: root/doc/api/dns.md
diff options
context:
space:
mode:
authorcjihrig <cjihrig@gmail.com>2018-06-20 09:19:12 -0400
committercjihrig <cjihrig@gmail.com>2018-06-20 13:36:43 -0400
commita77b30ca7fa9d2d945bf04707ed38e885acb0626 (patch)
treec6621aa9c13be3e3f71711c861952a0fe8af57d6 /doc/api/dns.md
parent7486c4d71060e2ae3e754cf01e8fb02696eacd13 (diff)
downloadandroid-node-v8-a77b30ca7fa9d2d945bf04707ed38e885acb0626.tar.gz
android-node-v8-a77b30ca7fa9d2d945bf04707ed38e885acb0626.tar.bz2
android-node-v8-a77b30ca7fa9d2d945bf04707ed38e885acb0626.zip
dns: remove Resolver#cancel() from promises API
Because reasons. PR-URL: https://github.com/nodejs/node/pull/21264 Reviewed-By: Anna Henningsen <anna@addaleax.net> Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Joyee Cheung <joyeec9h3@gmail.com> Reviewed-By: Benjamin Gruenbaum <benjamingr@gmail.com>
Diffstat (limited to 'doc/api/dns.md')
-rw-r--r--doc/api/dns.md8
1 files changed, 0 insertions, 8 deletions
diff --git a/doc/api/dns.md b/doc/api/dns.md
index 624bcc279d..4ac7925ca8 100644
--- a/doc/api/dns.md
+++ b/doc/api/dns.md
@@ -622,14 +622,6 @@ The following methods from the `dnsPromises` API are available:
* [`resolver.resolveTxt()`][`dnsPromises.resolveTxt()`]
* [`resolver.reverse()`][`dnsPromises.reverse()`]
-#### resolver.cancel()
-<!-- YAML
-added: REPLACEME
--->
-
-Cancel all outstanding DNS queries made by this resolver. The corresponding
-`Promise`s will be rejected with an error with code `ECANCELLED`.
-
### dnsPromises.getServers()
<!-- YAML
added: REPLACEME