This question is locked. New answers and comments are not allowed.
Is there a way to create promises from within cloud code?
I'm working with sdk queries which return promises, but then I need to work with the data. This creates a big mess of callbacks in my functions mixed with the promises I'm getting from the sdk library. Ultimately, I've run into a timing issue which is a bear to figure out now!
I'm working with sdk queries which return promises, but then I need to work with the data. This creates a big mess of callbacks in my functions mixed with the promises I'm getting from the sdk library. Ultimately, I've run into a timing issue which is a bear to figure out now!