summaryrefslogtreecommitdiff
path: root/doc/api/cluster.md
diff options
context:
space:
mode:
Diffstat (limited to 'doc/api/cluster.md')
-rw-r--r--doc/api/cluster.md2
1 files changed, 2 insertions, 0 deletions
diff --git a/doc/api/cluster.md b/doc/api/cluster.md
index c323282d0f..f3c8017da1 100644
--- a/doc/api/cluster.md
+++ b/doc/api/cluster.md
@@ -257,6 +257,8 @@ It is not emitted in the worker.
added: v0.7.7
-->
+* Returns: {Worker} A reference to `worker`.
+
In a worker, this function will close all servers, wait for the `'close'` event on
those servers, and then disconnect the IPC channel.