For Error contributed package *
For Router or Iron-Router contributed package *
Core *
Collections *
boolean
Methods *
Publish a record set.
Name of the attribute set. If null, the set has no name, and the record set is automatically sent to all connected clients.
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.
any
Templates *
DocumentFragment
DocumentFragment
Timers *
ServerConnections *
{ connected: boolean; status: string; retryCount: number; retryTime: number; reason: string; }
Subscribe to a record set. Returns a handle that provides stop() and ready() methods.
Name of the subscription. Matches name of server's publish() call.
Optional. May include onError and onReady callbacks. Can be Object or Function. If a function is passed instead of an object, it is interpreted as an onReady callback.
For Paginated-Subscription contributed package *
Accounts *
string