Hi,
I am a bit confused with the capabilities of this package. The readme states:
"With jam:pub-sub, you use Meteor.publish.once and the same Meteor.subscribe to have the data fetched via a Meteor Method and merged automatically in Minimongo so you can work with it as you're accustomed to."
Besides the initial goal of fetching the data once, this let me believe that I can also fetch the data multiple times via a method call, however I don't quite understand how. Is it just a matter of repeating "Meteor.publish.once" in a method call, with e.g. a different query filter?
If this would be possible, will the updated minimongo collections also re-trigger corresponding reactive computations on the client after each re-fetch?
Or am I misinterpreting this, and isn't this possible at all?
If this would work, this could give me a more efficient alternative to conditional reactive (pipeline) publications.
Hi,
I am a bit confused with the capabilities of this package. The readme states:
"With jam:pub-sub, you use Meteor.publish.once and the same Meteor.subscribe to have the data fetched via a Meteor Method and merged automatically in Minimongo so you can work with it as you're accustomed to."
Besides the initial goal of fetching the data once, this let me believe that I can also fetch the data multiple times via a method call, however I don't quite understand how. Is it just a matter of repeating "Meteor.publish.once" in a method call, with e.g. a different query filter?
If this would be possible, will the updated minimongo collections also re-trigger corresponding reactive computations on the client after each re-fetch?
Or am I misinterpreting this, and isn't this possible at all?
If this would work, this could give me a more efficient alternative to conditional reactive (pipeline) publications.