AccountsServer

Server new AccountsServer(server) import { AccountsServer } from 'meteor/accounts-base' Source Constructor for the Accounts namespace on the server. Arguments server Object A server object such as Meteor.server.

Publications and Data Loading

After reading this guide, you’ll know: What publications and subscriptions are in the Meteor platform. How to define a publication on the server. Where to subscribe on the client and in which templates. Useful patterns for managing subscriptions. How to reactively publish related data. How to ensure your publication is secure in the face of reactive changes. How to use the low-level publish API to publish anything. What happens when you subscribe to a publication. How to turn a 3rd-party REST e

Tracker.flush

Client Tracker.flush() import { Tracker } from 'meteor/tracker' Source Process all reactive updates immediately and ensure that all invalidated computations are rerun.

Tracker.Computation

Tracker.Computation A Computation object represents code that is repeatedly rerun in response to reactive data changes. Computations don't have return values; they just perform actions, such as rerendering a template on the screen. Computations are created using Tracker.autorun. Use stop to prevent further rerunning of a computation. Each time a computation runs, it may access various reactive data sources that serve as inputs to the computation, which are called its dependencies. At some futu

Meteor.setInterval

Anywhere Meteor.setInterval(func, delay) import { Meteor } from 'meteor/meteor' Source Call a function repeatedly, with a time delay between calls. Arguments func Function The function to run delay Number Number of milliseconds to wait between each function call.

ecmascript

ecmascript This package lets you use new JavaScript language features that are part of the ECMAScript 2015 specification but are not yet supported by all engines or browsers. Unsupported syntax is automatically translated into standard JavaScript that behaves the same way. This video from the July 2015 Meteor Devshop gives an overview of how the package works, and what it provides.

Tracker.Dependency

Tracker.Dependency A Dependency represents an atomic unit of reactive data that a computation might depend on. Reactive data sources such as Session or Minimongo internally create different Dependency objects for different pieces of data, each of which may be depended on by multiple computations. When the data changes, the computations are invalidated. Dependencies don't store data, they just track the set of computations to invalidate if something changes. Typically, a data value will be acco

Build system

The Meteor build system is the actual command line tool that you get when you install Meteor. You run it by typing the meteor command in your terminal, possibly followed by a set of arguments. Read the docs about the command line tool or type meteor help in your terminal to learn about all of the commands. What does it do? The Meteor build tool is what compiles, runs, deploys, and publishes all of your Meteor apps and packages. It’s Meteor’s built-in solution to the problems also solved by tool

{{> Template.dynamic}}

Templates {{> Template.dynamic template=template [data=data] }} Source Choose a template to include dynamically, by name. Arguments template String The name of the template to include. data Object Optional. The data context in which to include the template.

Meteor.setTimeout

Anywhere Meteor.setTimeout(func, delay) import { Meteor } from 'meteor/meteor' Source Call a function in the future after waiting for a specified delay. Arguments func Function The function to run delay Number Number of milliseconds to wait before calling function