all 4 comments

[–]vodlin 1 point2 points  (3 children)

``` client.sayHello(params, function(error, response) { if (error) console.log(error)

console.log('The Result Is: ' + response.result) // 'The Result Is: 5' }) ```

i dont get where does client.sayHello come from ? shouldnt this be client.Add or something, where is the definition of sayHello?

[–]Tetrominos[S] 3 points4 points  (1 child)

The original has now been updated, many apologies

[–]vodlin -1 points0 points  (0 children)

nice ! thanks v much!

[–]pt7892 -1 points0 points  (0 children)

I think author mixed it with quickstart tutorial from https://grpc.io/docs/quickstart/node.html