MeteorJS: Get success callback from user update?
问题 So, I just want to know if my user update was successful on client, so I can notify the user that the update worked. //Client Side return Meteor.call('handleUpdateUser', _id, _username, function(err, res) { if (err) { // also, what is best practices for handling these errors? } console.log(res); }); //Server Side Meteor.methods({ handleUpdateUser(id, username) { if (check for user...) { return if found } return Meteor.users.update({_id: id}, {$set: {username: username}}, function(err, count,