From 07bb0c46c06a35f25772be8c400d11f2a173943d Mon Sep 17 00:00:00 2001 From: Nick Schonning Date: Wed, 14 Oct 2020 14:19:01 -0400 Subject: [PATCH] doc: disable no-undefined-references workarounds The manual links appear to be specific workarounds, so just ignore them PR-URL: https://github.com/nodejs/node/pull/35647 Reviewed-By: Antoine du Hamel Reviewed-By: Daijiro Wachi Reviewed-By: Rich Trott --- doc/api/dns.md | 2 ++ doc/api/net.md | 4 ++++ 2 files changed, 6 insertions(+) diff --git a/doc/api/dns.md b/doc/api/dns.md index ac69a3491ae64e..c2f7f3e9012a4e 100644 --- a/doc/api/dns.md +++ b/doc/api/dns.md @@ -599,10 +599,12 @@ be an array of objects with the following properties: added: v0.1.27 --> + * `hostname` {string} * `callback` {Function} * `err` {Error} * `records` <string[][]> + Uses the DNS protocol to resolve text queries (`TXT` records) for the `hostname`. The `records` argument passed to the `callback` function is a diff --git a/doc/api/net.md b/doc/api/net.md index 7c777df33a2a4f..e8a33fc4f08cbe 100644 --- a/doc/api/net.md +++ b/doc/api/net.md @@ -258,6 +258,7 @@ an [IPC][] server depending on what it listens to. Possible signatures: + * [`server.listen(handle[, backlog][, callback])`][`server.listen(handle)`] * [`server.listen(options[, callback])`][`server.listen(options)`] * [`server.listen(path[, backlog][, callback])`][`server.listen(path)`] @@ -265,6 +266,7 @@ Possible signatures: * server.listen([port[, host[, backlog]]][, callback]) for TCP servers + This function is asynchronous. When the server starts listening, the [`'listening'`][] event will be emitted. The last parameter `callback` @@ -346,12 +348,14 @@ changes: functions. * Returns: {net.Server} + If `port` is specified, it behaves the same as server.listen([port[, host[, backlog]]][, callback]). Otherwise, if `path` is specified, it behaves the same as [`server.listen(path[, backlog][, callback])`][`server.listen(path)`]. If none of them is specified, an error will be thrown. + If `exclusive` is `false` (default), then cluster workers will use the same underlying handle, allowing connection handling duties to be shared. When