summaryrefslogtreecommitdiff
path: root/doc/api/dns.md
diff options
context:
space:
mode:
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