dependency.changed

Client dependency.changed() Source Invalidate all dependent computations immediately and remove them as dependents.

DDPRateLimiter

DDPRateLimiter Customize rate limiting for methods and subscriptions. By default, DDPRateLimiter is configured with a single rule. This rule limits login attempts, new user creation, and password resets to 5 attempts every 10 seconds per connection. It can be removed by calling Accounts.removeDefaultRateLimit(). Server DDPRateLimiter.addRule(matcher, numRequests, timeInterval) import { DDPRateLimiter } from 'meteor/ddp-rate-limiter' Source Add a rule that matches against a stream of ev

customType.toJSONValue

Anywhere customType.toJSONValue() Source Serialize this instance into a JSON-compatible value.

customType.typeName

Anywhere customType.typeName() Source Return the tag used to identify this type. This must match the tag used to register this type with EJSON.addType.

DDP.connect

Anywhere DDP.connect(url) import { DDP } from 'meteor/ddp-client' Source Connect to the server of a different Meteor application to subscribe to its document sets and invoke its remote methods. Arguments url String The URL of another Meteor application.

customType.equals

Anywhere customType.equals(other) Source Return true if other has a value equal to this; false otherwise. Arguments other Object Another object to compare this to.

cursor.observeChanges

Anywhere cursor.observeChanges(callbacks) Source Watch a query. Receive callbacks as the result set changes. Only the differences between the old and new documents are passed to the callbacks. Arguments callbacks Object Functions to call to deliver the result set as it changes

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

cursor.map

Anywhere cursor.map(callback, [thisArg]) Source Map callback over all matching documents. Returns an Array. Arguments callback Function Function to call. It will be called with three arguments: the document, a 0-based index, and cursor itself. thisArg Any An object which will be the value of this inside callback.

customType.clone

Anywhere customType.clone() Source Return a value r such that this.equals(r) is true, and modifications to r do not affect this and vice versa.