summaryrefslogtreecommitdiff
path: root/doc/api/dgram.md
diff options
context:
space:
mode:
authorSam Ruby <rubys@intertwingly.net>2018-07-12 13:48:11 -0400
committerVse Mozhet Byt <vsemozhetbyt@gmail.com>2018-07-15 23:57:35 +0300
commit40c85ff0634913f4c61e13cbb7cacb7e2c76120f (patch)
tree242febebcaa984898e65cdcd6bd61d6f6c1e4fed /doc/api/dgram.md
parent1009118d27b069411016df4ca6915aac3c36a41f (diff)
downloadandroid-node-v8-40c85ff0634913f4c61e13cbb7cacb7e2c76120f.tar.gz
android-node-v8-40c85ff0634913f4c61e13cbb7cacb7e2c76120f.tar.bz2
android-node-v8-40c85ff0634913f4c61e13cbb7cacb7e2c76120f.zip
doc: declare all parameter types
PR-URL: https://github.com/nodejs/node/pull/21782 Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de> Reviewed-By: Luigi Pinca <luigipinca@gmail.com> Reviewed-By: Vse Mozhet Byt <vsemozhetbyt@gmail.com>
Diffstat (limited to 'doc/api/dgram.md')
-rw-r--r--doc/api/dgram.md1
1 files changed, 1 insertions, 0 deletions
diff --git a/doc/api/dgram.md b/doc/api/dgram.md
index f4db86d5ea..50fd5db5a6 100644
--- a/doc/api/dgram.md
+++ b/doc/api/dgram.md
@@ -208,6 +208,7 @@ socket.bind({
<!-- YAML
added: v0.1.99
-->
+* `callback` {Function} Called when the socket has been closed.
Close the underlying socket and stop listening for data on it. If a callback is
provided, it is added as a listener for the [`'close'`][] event.