I’ve been trying to avoid callback hell in Meteor but first, I’ll explain my problem:
I have some Meteor methods declared in server, and I invoke them using Meteor.call in client, but the main problem is I have tons of callbacks making debugging a really difficult task to make (and manteinance too…). This wouldn’t be an issue if I work with a “small” project, but I’m building a big one and I was planning on using promises but for my surprise… it’s not working since Meteor.call only accepts callbacks.
I’ve read a lot of posts here and in stackoverflow and none of them can help me… is there any solution to this? (I tried deanius:promise package and it’s still the same…)