stubailo / meteor-reactive-method

Call methods synchronously inside Tracker.autorun [deprecated]
https://atmospherejs.com/simple/reactive-method
MIT License
98 stars 11 forks source link

using with mdg:validated-method #22

Open faom opened 7 years ago

faom commented 7 years ago

Hi I tried to call reactive-method with the new way of defining methods using mdg:validated-method however it returns undefined. How can I use this with the new way of defining methods?

Template.foo.helpers({ methodResult: function () { return ReactiveMethod.call("myMethod", "a", "b"); // returns undefined but with reactiveMethod.call returns well } });