Meteor.publish

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 to subscribe, the function is called with the same arguments.

doc_Meteor
2016-05-29 17:20:59
Comments
Leave a Comment

Please login to continue.