mirror of https://github.com/grpc/grpc-web.git
Remove SayHelloAfterDelay from node-client.ts
was removed from `server.js` and `client.js` in last commit as well.
This commit is contained in:
parent
6d786ac023
commit
69a16b6033
|
@ -39,20 +39,6 @@ function runSayRepeatHello(callback) {
|
|||
});
|
||||
}
|
||||
|
||||
/**
|
||||
* @param {function():?} callback
|
||||
*/
|
||||
function runSayHelloAfterDelay(callback) {
|
||||
var deadline = new Date();
|
||||
deadline.setSeconds(deadline.getSeconds() + 1);
|
||||
|
||||
client.sayHelloAfterDelay({name: 'John'}, {deadline: deadline.getTime()},
|
||||
(err, response) => {
|
||||
console.log('Got error, code = ' + err.code +
|
||||
', message = ' + err.message);
|
||||
callback();
|
||||
});
|
||||
}
|
||||
|
||||
/**
|
||||
* Run all of the demos in order
|
||||
|
@ -61,7 +47,6 @@ function main() {
|
|||
async.series([
|
||||
runSayHello,
|
||||
runSayRepeatHello,
|
||||
runSayHelloAfterDelay
|
||||
]);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue