commit | 9030c81f20c3721e7b0a92564f6e4d772a78ffcb | [log] [tgz] |
---|---|---|
author | murgatroid99 <mlumish@google.com> | Fri Sep 16 13:25:08 2016 -0700 |
committer | murgatroid99 <mlumish@google.com> | Fri Sep 16 13:25:08 2016 -0700 |
tree | 3bbe7fbaa32805f15d2153e7c9b814846ebc23c9 | |
parent | 6257159a3ae19f5caa3b44bcd201fc9183963cfe [diff] [blame] |
Add a libuv endpoint to the C core, for use in the Node library
diff --git a/src/node/index.js b/src/node/index.js index 9fb6faa..a294aad 100644 --- a/src/node/index.js +++ b/src/node/index.js
@@ -219,3 +219,7 @@ * @see module:src/client.waitForClientReady */ exports.waitForClientReady = client.waitForClientReady; + +exports.closeClient = function closeClient(client_obj) { + client.getClientChannel(client_obj).close(); +};