I know Meteor does client-side caching of the database for better effective performance. In the client-side Meteor method call, is there any way to know when the server-side
Just include a callback with your Meteor.call. The callback will be run after the server has completed processing the request.
Template.task.events({
'click .delete': function () {
Meteor.call('deleteTask', this._id, function(err, result){
if (err){
// an error was thrown
} else {
// everything worked!
}
})
}
});