I want know about Meteor.autorun in meteor. And why they are being Used? What are the features they provided?

有帮助吗?

解决方案

Meteor.autorun has been changed to Deps.autorun. Deps is Meteor's dependency tracking system, and Deps.autorun will automatically re-run a function whenever dependencies (session variables, db queries, etc) are changed.

其他提示

Meteor Deps is a new reactive programming system that is incredibly simple and lightweight. Deps.autorun is a callback function associated with a reactive variable which immediately runs the function passed to it when the variable changes.

Review the Meteor manual for a through explanation http://manual.meteor.com/

许可以下: CC-BY-SA归因
不隶属于 StackOverflow
scroll top