Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

clarify comment

  • Loading branch information...
commit f1119029835d5d808808b6d5d7fa401d6fd45926 1 parent fd1fa85
@debergalis debergalis authored
Showing with 3 additions and 4 deletions.
  1. +3 −4 packages/livedata/livedata_server.js
View
7 packages/livedata/livedata_server.js
@@ -450,10 +450,9 @@ _.extend(Meteor._LivedataServer.prototype, {
socket.send(JSON.stringify({
msg: 'result', id: msg.id, result: result}));
- // the method is satisfied once func returns, because any
- // DB observe callbacks run to completion in the same tick.
- // publishQuery will queue data before returning from the
- // observe callback.
+ // the method is satisfied once callback is called, because
+ // any DB observe callbacks run to completion in the same
+ // tick.
socket.send(JSON.stringify({
msg: 'data', methods: [msg.id]}));
};
Please sign in to comment.
Something went wrong with that request. Please try again.