computation.firstRun

Client computation.firstRun Source True during the initial run of the computation at the time Tracker.autorun is called, and false on subsequent reruns and at other times.

cursor.observe

Anywhere cursor.observe(callbacks) Source Watch a query. Receive callbacks as the result set changes. Arguments callbacks Object Functions to call to deliver the result set as it changes

Meteor.users

Anywhere Meteor.users import { Meteor } from 'meteor/meteor' Source A Mongo.Collection containing user documents.

Tracker.autorun

Client Tracker.autorun(runFunc, [options]) import { Tracker } from 'meteor/tracker' Source Run a function now and rerun it later whenever its dependencies change. Returns a Computation object that can be used to stop or observe the rerunning. Arguments runFunc Function The function to run. It receives one argument: the Computation object that will be returned. Options onError Function Optional. The function to run when an error happens in the Computation. The only argument it r

Tracker.currentComputation

Client Tracker.currentComputation import { Tracker } from 'meteor/tracker' Source The current computation, or null if there isn't one. The current computation is the Tracker.Computation object created by the innermost active call to Tracker.autorun, and it's the computation that gains dependencies when reactive data sources are accessed.

computation.onStop

Client computation.onStop(callback) Source Registers callback to run when this computation is stopped, or runs it immediately if the computation is already stopped. The callback is run after any onInvalidate callbacks. Arguments callback Function Function to be called on stop. Receives one argument, the computation that was stopped.

Plugin.registerSourceHandler

Build Plugin Plugin.registerSourceHandler(fileExtension, handler) Inside a build plugin source file specified in Package.registerBuildPlugin, add a handler to compile files with a certain file extension. Arguments fileExtension String The file extension that this plugin should handle, without the first dot. Examples: "coffee", "coffee.md". handler Function A function that takes one argument, a CompileStep object. Documentation for CompileStep is available on the GitHub Wiki.

AccountsClient#loggingIn

Client accountsClient.loggingIn() Source True if a login method (such as Meteor.loginWithPassword, Meteor.loginWithFacebook, or Accounts.createUser) is currently in progress. A reactive data source.

cursor.count

Anywhere cursor.count() Source Returns the number of documents that match a query.

dependency.hasDependents

Client dependency.hasDependents() Source True if this Dependency has one or more dependent Computations, which would be invalidated if this Dependency were to change.