Question

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

Était-ce utile?

La 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.

Autres conseils

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/

Licencié sous: CC-BY-SA avec attribution
Non affilié à StackOverflow
scroll top