Remove SayHelloAfterDelay from node-client.ts

was removed from `server.js` and `client.js` in last commit as well.
This commit is contained in:
JoeSchr 2020-08-26 10:41:20 +02:00 committed by Stanley Cheung
parent 6d786ac023
commit 69a16b6033
1 changed files with 0 additions and 15 deletions

View File

@ -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
]);
}