diff options
author | Craig Tiller <ctiller@google.com> | 2017-05-11 13:39:22 -0700 |
---|---|---|
committer | Craig Tiller <ctiller@google.com> | 2017-05-11 13:39:22 -0700 |
commit | de1682b1acb77f0578b5e3d1d4039ab8c1ef69d1 (patch) | |
tree | 9a2cfd68760ec2e31095ae423a99c8a92f79c697 /src/node/index.js | |
parent | bf15d98a564b5ef3bfe540f63ba787312f12fe1d (diff) | |
parent | 45b89fb11ca3cd524787aeba7a1270f744a1256c (diff) |
Merge github.com:grpc/grpc into write_completion
Diffstat (limited to 'src/node/index.js')
-rw-r--r-- | src/node/index.js | 11 |
1 files changed, 10 insertions, 1 deletions
diff --git a/src/node/index.js b/src/node/index.js index 071bfd7927..76ab1744b0 100644 --- a/src/node/index.js +++ b/src/node/index.js @@ -31,6 +31,10 @@ * */ +/** + * @module + */ + 'use strict'; var path = require('path'); @@ -256,5 +260,10 @@ exports.getClientChannel = client.getClientChannel; exports.waitForClientReady = client.waitForClientReady; exports.closeClient = function closeClient(client_obj) { - client.getClientChannel(client_obj).close(); + client.Client.prototype.close.apply(client_obj); }; + +/** + * @see module:src/client.Client + */ +exports.Client = client.Client; |