peerlibrary:server-autorun

v0.8.0Published 5 years ago

This package has not had recent updates. Please investigate it's current state before committing to using it in your project.

server-autorun

Meteor smart package which provides a fully reactive server-side Tracker.autorun. While Meteor does provide Tracker.autorun on the server, it is not officially supported on the server and it has many limitations. For example, it cannot be used with fibers-enabled synchronous (blocking) code. This implementation cooperates nicely with fibers and preserves Meteor environment variables where necessary, allowing you to run any reactive code. Now you can really share the same code between client and server.

Adding this package to your Meteor application will override Tracker.autorun on the server with this implementation.

Server side only.

See also related packages:

Installation

meteor add peerlibrary:server-autorun

Acknowledgments

This package is based on the great work by Diggory Blake who made the first implementation.