I am constructing a chart where I aggregate data on the server and send it to the client via a Meteor method. Since Meteor methods are not reactive, I need to trigger the template to run the method requesting the data reactively.
How can I send a signal from the server to the client when relevant server data has changed, so the chart can be re-rendered (via autorun)?
The closest approach I have thought of is to use percolatestudio:publish-counts to send a count of the documents, which will trigger the template autorun function. This seems slightly ‘hacky’, since all I really need is a reactive signal for the autorun function to be triggered.