Using grpc, i create a stub 'client'. He has an 'auth' method. I call like that
client.auth({uuid:cookies.uuid}, function(err, r){} );
The function in the parameter will be called asynchronously, but I need to get its value synchronously. How can this be done?