Publish and subscribe
Publish and subscribe
Documentation of Meteor's publication and subscription API.
These functions control how Meteor servers publish sets of records and how clients can subscribe to those sets.
Server Meteor.publish(name, func)
import { Meteor } from 'meteor/meteor'
(ddp-server/livedata_server.js, line 1502)
import { Meteor } from 'meteor/meteor'
(ddp-server/livedata_server.js, line 1502) Publish a record set.
Arguments
-
name
String or Object -
If String, name of the record set. If Object, publications Dictionary of publish functions by name. If
null登录查看完整内容