meteor Publishing Data Global publications


Example

A global publication does not possess a name and does not require a subscription from the connected client and therefore it is available to the connected client as soon as the client connects to the server.

To achieve this, one simply names the publication as null like so

Meteor.publish(null, function() {
  return SomeCollection.find();
})