Question

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

Was it helpful?

Solution

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.

OTHER TIPS

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/

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top