Skip to content

Instantly share code, notes, and snippets.

@yuriatgoogle
Created April 10, 2018 19:58
Show Gist options
  • Save yuriatgoogle/3d6a57fc9bc711bb4648587c79c23ea1 to your computer and use it in GitHub Desktop.
Save yuriatgoogle/3d6a57fc9bc711bb4648587c79c23ea1 to your computer and use it in GitHub Desktop.
function sayHello(call, callback) {
sleep.sleep(getRandomInt(5));
callback(null, {message: 'Hello ' + call.request.name});
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment