Create a gist now

Instantly share code, notes, and snippets.

What would you like to do?
Meteor: Simulate high latency publish function
Meteor.publish('todos', function(listId) {
Meteor._sleepForMs(2000)
return Todos.find({listId: listId})
});
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment