meteor Publishing Data Named publications


Example

A named publication is one that possesses a name and needs to be explicitly subscribed to from the client.

Consider this server side code:

Meteor.publish('somePublication', function() {
  return SomeCollection.find()
})

The client needs to request it by:

Meteor.subscribe('somePublication')