Server
Meteor.publish(name, func)
import { Meteor } from 'meteor/meteor'
Source Publish a record set.
Arguments
- name String
-
Name of the record set. If
null
, the set has no name, and the record set is automatically sent to all connected clients. - func Function
-
Function called on the server each time a client subscribes. Inside the function,
this
is the publish handler object, described below. If the client passed arguments tosubscribe
, the function is called with the same arguments.
Please login to continue.