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:
- peerlibrary:reactive-mongo makes MongoDB queries on the server side reactive
- peerlibrary:reactive-publish extends publish endpoints with support for reactivity so that you can use servers-side autorun inside a publish function
meteor add peerlibrary:server-autorun
This package is based on the great work by Diggory Blake who made the first implementation.